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

Fix vault migration unit test

This commit is contained in:
Dan Finlay 2016-11-22 16:07:35 -08:00
parent 607a474c3f
commit 358440384c

View File

@ -86,7 +86,7 @@ describe('KeyringController', function() {
it('should return and init a new vault', function(done) { it('should return and init a new vault', function(done) {
keyringController.migrateOldVaultIfAny(password) keyringController.migrateOldVaultIfAny(password)
.then(() => { .then(() => {
assert(Boolean(localStorage['vault'])) assert(keyringController.configManager.getVault(), 'now has a vault')
done() done()
}) })
.catch((reason) => { .catch((reason) => {