aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Huang <thomas.b.huang@gmail.com>2017-05-05 06:06:27 +0800
committerThomas Huang <thomas.b.huang@gmail.com>2017-05-05 06:06:27 +0800
commit9bd7d06c4f3aab94308335f2e13c01bcca88eb4b (patch)
treea6584b15121ed5bc6c3ddf3465c6bfeb81e585f5
parent0b13429daf00ddd5bdf2705c7a95d7a9d5792f54 (diff)
downloadtangerine-wallet-browser-9bd7d06c4f3aab94308335f2e13c01bcca88eb4b.tar
tangerine-wallet-browser-9bd7d06c4f3aab94308335f2e13c01bcca88eb4b.tar.gz
tangerine-wallet-browser-9bd7d06c4f3aab94308335f2e13c01bcca88eb4b.tar.bz2
tangerine-wallet-browser-9bd7d06c4f3aab94308335f2e13c01bcca88eb4b.tar.lz
tangerine-wallet-browser-9bd7d06c4f3aab94308335f2e13c01bcca88eb4b.tar.xz
tangerine-wallet-browser-9bd7d06c4f3aab94308335f2e13c01bcca88eb4b.tar.zst
tangerine-wallet-browser-9bd7d06c4f3aab94308335f2e13c01bcca88eb4b.zip
Remove unused modules and STORAGE_KEY
-rw-r--r--test/lib/mock-config-manager.js1
-rw-r--r--test/unit/currency-controller-test.js2
-rw-r--r--test/unit/keyring-controller-test.js2
-rw-r--r--test/unit/message-manager-test.js3
-rw-r--r--test/unit/metamask-controller-test.js2
-rw-r--r--test/unit/notice-controller-test.js4
6 files changed, 0 insertions, 14 deletions
diff --git a/test/lib/mock-config-manager.js b/test/lib/mock-config-manager.js
index 3238d3501..0cc6953bb 100644
--- a/test/lib/mock-config-manager.js
+++ b/test/lib/mock-config-manager.js
@@ -2,7 +2,6 @@ const ObservableStore = require('obs-store')
const clone = require('clone')
const ConfigManager = require('../../app/scripts/lib/config-manager')
const firstTimeState = require('../../app/scripts/first-time-state')
-// const STORAGE_KEY = 'metamask-config'
module.exports = function () {
const store = new ObservableStore(clone(firstTimeState))
diff --git a/test/unit/currency-controller-test.js b/test/unit/currency-controller-test.js
index 40868912c..cfbce7fb3 100644
--- a/test/unit/currency-controller-test.js
+++ b/test/unit/currency-controller-test.js
@@ -2,8 +2,6 @@
global.fetch = global.fetch || require('isomorphic-fetch')
const assert = require('assert')
-// const extend = require('xtend')
-// const rp = require('request-promise')
const nock = require('nock')
const CurrencyController = require('../../app/scripts/controllers/currency')
diff --git a/test/unit/keyring-controller-test.js b/test/unit/keyring-controller-test.js
index f7e2ec89d..2d9a53723 100644
--- a/test/unit/keyring-controller-test.js
+++ b/test/unit/keyring-controller-test.js
@@ -3,9 +3,7 @@ const KeyringController = require('../../app/scripts/keyring-controller')
const configManagerGen = require('../lib/mock-config-manager')
const ethUtil = require('ethereumjs-util')
const BN = ethUtil.BN
-// const async = require('async')
const mockEncryptor = require('../lib/mock-encryptor')
-// const MockSimpleKeychain = require('../lib/mock-simple-keychain')
const sinon = require('sinon')
describe('KeyringController', function () {
diff --git a/test/unit/message-manager-test.js b/test/unit/message-manager-test.js
index 44190c8d0..30cb4f067 100644
--- a/test/unit/message-manager-test.js
+++ b/test/unit/message-manager-test.js
@@ -1,7 +1,4 @@
const assert = require('assert')
-// const extend = require('xtend')
-// const EventEmitter = require('events')
-
const MessageManger = require('../../app/scripts/lib/message-manager')
describe('Transaction Manager', function () {
diff --git a/test/unit/metamask-controller-test.js b/test/unit/metamask-controller-test.js
index ac588b313..5ee0a6c84 100644
--- a/test/unit/metamask-controller-test.js
+++ b/test/unit/metamask-controller-test.js
@@ -4,8 +4,6 @@ const clone = require('clone')
const MetaMaskController = require('../../app/scripts/metamask-controller')
const firstTimeState = require('../../app/scripts/first-time-state')
-// const STORAGE_KEY = 'metamask-config'
-
describe('MetaMaskController', function () {
const noop = () => {}
const metamaskController = new MetaMaskController({
diff --git a/test/unit/notice-controller-test.js b/test/unit/notice-controller-test.js
index 7eef615d5..09eeda15c 100644
--- a/test/unit/notice-controller-test.js
+++ b/test/unit/notice-controller-test.js
@@ -1,10 +1,6 @@
const assert = require('assert')
-// const extend = require('xtend')
-// const rp = require('request-promise')
-// const nock = require('nock')
const configManagerGen = require('../lib/mock-config-manager')
const NoticeController = require('../../app/scripts/notice-controller')
-// const STORAGE_KEY = 'metamask-persistence-key'
describe('notice-controller', function () {
var noticeController