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:
parent
607a474c3f
commit
358440384c
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user