From afcad53ef974e557c5dc701d364a88157694464f Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 20 Dec 2016 16:11:49 -0800 Subject: Refine a lostAccount test --- test/unit/idStore-migration-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/unit/idStore-migration-test.js b/test/unit/idStore-migration-test.js index 66dd4683d..8532ac914 100644 --- a/test/unit/idStore-migration-test.js +++ b/test/unit/idStore-migration-test.js @@ -83,7 +83,7 @@ describe('IdentityStore to KeyringController migration', function() { keyringController.configManager.setWallet('something') const state = keyringController.getState() assert(state.isInitialized, 'old vault counted as initialized.') - assert.equal(state.lostAccounts.length, 0, 'no lost accounts') + assert(!state.lostAccounts, 'no lost accounts') }) }) }) -- cgit v1.2.3