aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-28 09:10:14 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-28 09:10:14 +0800
commit3106374cc31b66e5a0faadd657b4430e21aa48b2 (patch)
tree089adefcdd2ab8de462d549c9efcf9f4677cd287
parent8af45d50cf345ae0f5cecf5314f73603e7cc73a7 (diff)
downloadtangerine-wallet-browser-3106374cc31b66e5a0faadd657b4430e21aa48b2.tar
tangerine-wallet-browser-3106374cc31b66e5a0faadd657b4430e21aa48b2.tar.gz
tangerine-wallet-browser-3106374cc31b66e5a0faadd657b4430e21aa48b2.tar.bz2
tangerine-wallet-browser-3106374cc31b66e5a0faadd657b4430e21aa48b2.tar.lz
tangerine-wallet-browser-3106374cc31b66e5a0faadd657b4430e21aa48b2.tar.xz
tangerine-wallet-browser-3106374cc31b66e5a0faadd657b4430e21aa48b2.tar.zst
tangerine-wallet-browser-3106374cc31b66e5a0faadd657b4430e21aa48b2.zip
watchAsset small changes
-rw-r--r--app/scripts/controllers/preferences.js2
-rw-r--r--test/unit/app/controllers/preferences-controller-test.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js
index d57aec71a..4798b2ad6 100644
--- a/app/scripts/controllers/preferences.js
+++ b/app/scripts/controllers/preferences.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')
diff --git a/test/unit/app/controllers/preferences-controller-test.js b/test/unit/app/controllers/preferences-controller-test.js
index d63356215..2c261be90 100644
--- a/test/unit/app/controllers/preferences-controller-test.js
+++ b/test/unit/app/controllers/preferences-controller-test.js
@@ -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)