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:
parent
8af45d50cf
commit
3106374cc3
@ -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')
|
||||||
|
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user