aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-23 08:07:35 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-23 08:07:35 +0800
commit358440384c769c82fec148e7a24e3e4f6366b4b4 (patch)
tree0e004549dc2a9fd68c5a637173d79b1dc9021580 /test
parent607a474c3fef10aa6a50b27015263d874d25aa69 (diff)
downloadtangerine-wallet-browser-358440384c769c82fec148e7a24e3e4f6366b4b4.tar
tangerine-wallet-browser-358440384c769c82fec148e7a24e3e4f6366b4b4.tar.gz
tangerine-wallet-browser-358440384c769c82fec148e7a24e3e4f6366b4b4.tar.bz2
tangerine-wallet-browser-358440384c769c82fec148e7a24e3e4f6366b4b4.tar.lz
tangerine-wallet-browser-358440384c769c82fec148e7a24e3e4f6366b4b4.tar.xz
tangerine-wallet-browser-358440384c769c82fec148e7a24e3e4f6366b4b4.tar.zst
tangerine-wallet-browser-358440384c769c82fec148e7a24e3e4f6366b4b4.zip
Fix vault migration unit test
Diffstat (limited to 'test')
-rw-r--r--test/unit/keyring-controller-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/keyring-controller-test.js b/test/unit/keyring-controller-test.js
index 2d1064f40..a58043c7a 100644
--- a/test/unit/keyring-controller-test.js
+++ b/test/unit/keyring-controller-test.js
@@ -86,7 +86,7 @@ describe('KeyringController', function() {
it('should return and init a new vault', function(done) {
keyringController.migrateOldVaultIfAny(password)
.then(() => {
- assert(Boolean(localStorage['vault']))
+ assert(keyringController.configManager.getVault(), 'now has a vault')
done()
})
.catch((reason) => {