watchAsset small changes

feature/default_network_editable
Esteban MIno 6 years ago
parent 8af45d50cf
commit 3106374cc3
  1. 2
      app/scripts/controllers/preferences.js
  2. 2
      test/unit/app/controllers/preferences-controller-test.js

@ -1,6 +1,6 @@
const ObservableStore = require('obs-store')
const normalizeAddress = require('eth-sig-util').normalize
const isValidAddress = require('ethereumjs-util').isValidAddress
const { isValidAddress } = require('ethereumjs-util')
const extend = require('xtend')

@ -357,7 +357,7 @@ describe('preferences controller', function () {
sandbox.restore()
})
it('should do anything if method not corresponds', async function () {
it('shouldn not do anything if method not corresponds', async function () {
const asy = {next: () => {}, end: () => {}}
var stubNext = sandbox.stub(asy, 'next')
var stubEnd = sandbox.stub(asy, 'end').returns(0)

Loading…
Cancel
Save