aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ui/app/reducers/metamask.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/ui/app/reducers/metamask.spec.js')
-rw-r--r--test/unit/ui/app/reducers/metamask.spec.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/unit/ui/app/reducers/metamask.spec.js b/test/unit/ui/app/reducers/metamask.spec.js
index d7876bf39..39caf3e6a 100644
--- a/test/unit/ui/app/reducers/metamask.spec.js
+++ b/test/unit/ui/app/reducers/metamask.spec.js
@@ -9,32 +9,6 @@ describe('MetaMask Reducers', () => {
assert(initState)
})
- it('sets revealing seed to true and adds seed words to new state', () => {
- const seedWordsState = reduceMetamask({}, {
- type: actions.SHOW_NEW_VAULT_SEED,
- value: 'test seed words',
- })
-
- assert.equal(seedWordsState.seedWords, 'test seed words')
- assert.equal(seedWordsState.isRevealingSeedWords, true)
- })
-
- it('shows account page', () => {
- const seedWordsState = {
- metamask: {
- seedwords: 'test seed words',
- isRevealing: true,
- },
- }
-
- const state = reduceMetamask(seedWordsState, {
- type: actions.SHOW_ACCOUNTS_PAGE,
- })
-
- assert.equal(state.seedWords, undefined)
- assert.equal(state.isRevealingSeedWords, false)
- })
-
it('unlocks MetaMask', () => {
const state = reduceMetamask({}, {
type: actions.UNLOCK_METAMASK,
@@ -152,16 +126,6 @@ describe('MetaMask Reducers', () => {
})
})
- it('shows new vault seed words and sets isRevealingSeedWords to true', () => {
- const showNewVaultSeedState = reduceMetamask({}, {
- type: actions.SHOW_NEW_VAULT_SEED,
- value: 'test seed words',
- })
-
- assert.equal(showNewVaultSeedState.isRevealingSeedWords, true)
- assert.equal(showNewVaultSeedState.seedWords, 'test seed words')
- })
-
it('shows account detail', () => {
const state = reduceMetamask({}, {