diff options
Diffstat (limited to 'test/unit/keyring-controller-test.js')
-rw-r--r-- | test/unit/keyring-controller-test.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/keyring-controller-test.js b/test/unit/keyring-controller-test.js index c32141cc6..2d1064f40 100644 --- a/test/unit/keyring-controller-test.js +++ b/test/unit/keyring-controller-test.js @@ -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) => { |