Improve vault migration unit test

feature/default_network_editable
Dan Finlay 8 years ago
parent 4b7b0a86d8
commit 607a474c3f
  1. 3
      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) => {

Loading…
Cancel
Save