Remove unused modules and STORAGE_KEY

feature/default_network_editable
Thomas Huang 8 years ago
parent 0b13429daf
commit 9bd7d06c4f
  1. 1
      test/lib/mock-config-manager.js
  2. 2
      test/unit/currency-controller-test.js
  3. 2
      test/unit/keyring-controller-test.js
  4. 3
      test/unit/message-manager-test.js
  5. 2
      test/unit/metamask-controller-test.js
  6. 4
      test/unit/notice-controller-test.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))

@ -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')

@ -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 () {

@ -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 () {

@ -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({

@ -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

Loading…
Cancel
Save