mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 09:23:21 +01:00
Improve vault migration unit test
This commit is contained in:
parent
4b7b0a86d8
commit
607a474c3f
@ -83,9 +83,10 @@ describe('KeyringController', function() {
|
||||
})
|
||||
|
||||
describe('#migrateOldVaultIfAny', function() {
|
||||
it('should return the key for that password', function(done) {
|
||||
it('should return and init a new vault', function(done) {
|
||||
keyringController.migrateOldVaultIfAny(password)
|
||||
.then(() => {
|
||||
assert(Boolean(localStorage['vault']))
|
||||
done()
|
||||
})
|
||||
.catch((reason) => {
|
||||
|
Loading…
Reference in New Issue
Block a user