1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +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) {
keyringController.migrateOldVaultIfAny(password)
.then(() => {
assert(Boolean(localStorage['vault']))
assert(keyringController.configManager.getVault(), 'now has a vault')
done()
})
.catch((reason) => {