diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-11-23 08:07:35 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-11-23 08:07:35 +0800 |
commit | 358440384c769c82fec148e7a24e3e4f6366b4b4 (patch) | |
tree | 0e004549dc2a9fd68c5a637173d79b1dc9021580 /test | |
parent | 607a474c3fef10aa6a50b27015263d874d25aa69 (diff) | |
download | tangerine-wallet-browser-358440384c769c82fec148e7a24e3e4f6366b4b4.tar.gz 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.js | 2 |
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) => { |