aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ui/app/reducers/app.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/ui/app/reducers/app.spec.js')
-rw-r--r--test/unit/ui/app/reducers/app.spec.js15
1 files changed, 1 insertions, 14 deletions
diff --git a/test/unit/ui/app/reducers/app.spec.js b/test/unit/ui/app/reducers/app.spec.js
index 09cf3dbf0..6f8dd920c 100644
--- a/test/unit/ui/app/reducers/app.spec.js
+++ b/test/unit/ui/app/reducers/app.spec.js
@@ -270,18 +270,6 @@ describe('App State', () => {
assert.equal(state.isLoading, true)
})
- it('shows new vault seed', () => {
- const state = reduceApp(metamaskState, {
- type: actions.SHOW_NEW_VAULT_SEED,
- value: 'test seed words',
- })
-
- assert.equal(state.currentView.name, 'createVaultComplete')
- assert.equal(state.currentView.seedWords, 'test seed words')
- assert.equal(state.transForward, true)
- assert.equal(state.isLoading, false)
- })
-
it('shows new account screen', () => {
const state = reduceApp(metamaskState, {
type: actions.NEW_ACCOUNT_SCREEN,
@@ -437,7 +425,6 @@ describe('App State', () => {
})
assert.equal(state.currentView.name, 'accounts')
- assert.equal(state.currentView.seedWords, undefined)
assert.equal(state.transForward, true)
assert.equal(state.isLoading, false)
assert.equal(state.warning, null)
@@ -700,7 +687,7 @@ describe('App State', () => {
})
it('hides sub loading indicator', () => {
- const oldState = {...metamaskState, ...oldState}
+ const oldState = {...metamaskState, isSubLoading: true }
const state = reduceApp(oldState, {
type: actions.HIDE_SUB_LOADING_INDICATION,
})