remove local tests

feature/default_network_editable
Jenny Pollack 6 years ago
parent 1a9748667d
commit 16fc7efef1
  1. 2
      app/scripts/background.js
  2. 1
      app/scripts/lib/setupRaven.js

@ -27,7 +27,6 @@ const EdgeEncryptor = require('./edge-encryptor')
const getFirstPreferredLangCode = require('./lib/get-first-preferred-lang-code') const getFirstPreferredLangCode = require('./lib/get-first-preferred-lang-code')
const getObjStructure = require('./lib/getObjStructure') const getObjStructure = require('./lib/getObjStructure')
const ipfsContent = require('./lib/ipfsContent.js') const ipfsContent = require('./lib/ipfsContent.js')
const assert = require('assert')
const { const {
ENVIRONMENT_TYPE_POPUP, ENVIRONMENT_TYPE_POPUP,
@ -47,7 +46,6 @@ global.METAMASK_NOTIFIER = notificationManager
// setup sentry error reporting // setup sentry error reporting
const releaseVersion = platform.getVersion() const releaseVersion = platform.getVersion()
const raven = setupRaven({ releaseVersion }) const raven = setupRaven({ releaseVersion })
assert.equal('test', 'notest')
// browser check if it is Edge - https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser // browser check if it is Edge - https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser
// Internet Explorer 6-11 // Internet Explorer 6-11

@ -28,7 +28,6 @@ function setupRaven (opts) {
const report = opts.data const report = opts.data
try { try {
console.log('testing opts in transport sentry')
// handle error-like non-error exceptions // handle error-like non-error exceptions
rewriteErrorLikeExceptions(report) rewriteErrorLikeExceptions(report)
// simplify certain complex error messages (e.g. Ethjs) // simplify certain complex error messages (e.g. Ethjs)

Loading…
Cancel
Save