diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-01-30 22:30:42 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-02-05 20:19:55 +0800 |
commit | c52ba96b85998f34bfb034f801556f4c89b8b6ba (patch) | |
tree | 6537c1d50b0f4ec2fe75425a4b3812420e4e2cab /test/unit | |
parent | a7a6318c132d2c0014f7f6ee2ff70d4a9ec259ac (diff) | |
download | tangerine-wallet-browser-c52ba96b85998f34bfb034f801556f4c89b8b6ba.tar tangerine-wallet-browser-c52ba96b85998f34bfb034f801556f4c89b8b6ba.tar.gz tangerine-wallet-browser-c52ba96b85998f34bfb034f801556f4c89b8b6ba.tar.bz2 tangerine-wallet-browser-c52ba96b85998f34bfb034f801556f4c89b8b6ba.tar.lz tangerine-wallet-browser-c52ba96b85998f34bfb034f801556f4c89b8b6ba.tar.xz tangerine-wallet-browser-c52ba96b85998f34bfb034f801556f4c89b8b6ba.tar.zst tangerine-wallet-browser-c52ba96b85998f34bfb034f801556f4c89b8b6ba.zip |
Remove betaUI preference state, replace with completedUiMigration
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/ui/app/reducers/metamask.spec.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/unit/ui/app/reducers/metamask.spec.js b/test/unit/ui/app/reducers/metamask.spec.js index 502e7ef33..8cdb780fe 100644 --- a/test/unit/ui/app/reducers/metamask.spec.js +++ b/test/unit/ui/app/reducers/metamask.spec.js @@ -502,17 +502,15 @@ describe('MetaMask Reducers', () => { assert.equal(state.useBlockie, true) }) - it('updates feature flag', () => { + it('updates an arbitrary feature flag', () => { const state = reduceMetamask({}, { type: actions.UPDATE_FEATURE_FLAGS, value: { - betaUI: true, - skipAnnounceBetaUI: true, + foo: true, }, }) - assert.equal(state.featureFlags.betaUI, true) - assert.equal(state.featureFlags.skipAnnounceBetaUI, true) + assert.equal(state.featureFlags.foo, true) }) it('updates network endpoint type', () => { |