1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

watchAsset small changes

This commit is contained in:
Esteban MIno 2018-08-27 22:10:14 -03:00
parent 8af45d50cf
commit 3106374cc3
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -357,7 +357,7 @@ describe('preferences controller', function () {
sandbox.restore() 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: () => {}} const asy = {next: () => {}, end: () => {}}
var stubNext = sandbox.stub(asy, 'next') var stubNext = sandbox.stub(asy, 'next')
var stubEnd = sandbox.stub(asy, 'end').returns(0) var stubEnd = sandbox.stub(asy, 'end').returns(0)