aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-08-09 03:33:10 +0800
committerGitHub <noreply@github.com>2019-08-09 03:33:10 +0800
commitceace71bf5989eb8137d7f0617a85ccaa92dce30 (patch)
treec8daced880a88b39426703d132897675d1a0761f /test
parentd4db2c3de370f7c94ec8cba0d35fc14ef8667bd0 (diff)
downloadtangerine-wallet-browser-ceace71bf5989eb8137d7f0617a85ccaa92dce30.tar.gz
tangerine-wallet-browser-ceace71bf5989eb8137d7f0617a85ccaa92dce30.tar.zst
tangerine-wallet-browser-ceace71bf5989eb8137d7f0617a85ccaa92dce30.zip
Remove unused lostAccounts state (#6979)
Diffstat (limited to 'test')
-rw-r--r--test/data/2-state.json3
-rw-r--r--test/unit/app/controllers/metamask-controller-test.js8
2 files changed, 1 insertions, 10 deletions
diff --git a/test/data/2-state.json b/test/data/2-state.json
index d41a403ff..fe1d15cc1 100644
--- a/test/data/2-state.json
+++ b/test/data/2-state.json
@@ -64,7 +64,6 @@
"noActiveNotices": true,
"shapeShiftTxList": [],
"infuraNetworkStatus": {},
- "lostAccounts": [],
"seedWords": "debris dizzy just program just float decrease vacant alarm reduce speak stadium",
"forgottenPassword": null
-} \ No newline at end of file
+}
diff --git a/test/unit/app/controllers/metamask-controller-test.js b/test/unit/app/controllers/metamask-controller-test.js
index effd7c0ce..4f642037a 100644
--- a/test/unit/app/controllers/metamask-controller-test.js
+++ b/test/unit/app/controllers/metamask-controller-test.js
@@ -758,14 +758,6 @@ describe('MetaMaskController', function () {
})
})
- describe('#markAccountsFound', function () {
- it('adds lost accounts to config manager data', function () {
- metamaskController.markAccountsFound(noop)
- const state = metamaskController.getState()
- assert.deepEqual(state.lostAccounts, [])
- })
- })
-
describe('#markPasswordForgotten', function () {
it('adds and sets forgottenPassword to config data to true', function () {
metamaskController.markPasswordForgotten(noop)