aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/app
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-08-22 02:42:14 +0800
committerGitHub <noreply@github.com>2019-08-22 02:42:14 +0800
commitef3859ff775e9f36869fcce80eee388039adb2af (patch)
tree981477e4c56f4adb23ce41b5bea73a20af0b718f /test/unit/app
parentf9c0bdda3205c27c4e96dae53276eba106e660bc (diff)
downloadtangerine-wallet-browser-ef3859ff775e9f36869fcce80eee388039adb2af.tar.gz
tangerine-wallet-browser-ef3859ff775e9f36869fcce80eee388039adb2af.tar.zst
tangerine-wallet-browser-ef3859ff775e9f36869fcce80eee388039adb2af.zip
Add toggle for incoming transactions (#7049)
Diffstat (limited to 'test/unit/app')
-rw-r--r--test/unit/app/controllers/incoming-transactions-test.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/app/controllers/incoming-transactions-test.js b/test/unit/app/controllers/incoming-transactions-test.js
index e77c83a3d..0f8385af2 100644
--- a/test/unit/app/controllers/incoming-transactions-test.js
+++ b/test/unit/app/controllers/incoming-transactions-test.js
@@ -63,6 +63,11 @@ describe('IncomingTransactionsController', () => {
const MOCK_PREFERENCES_CONTROLLER = {
getSelectedAddress: sinon.stub().returns('0x0101'),
store: {
+ getState: sinon.stub().returns({
+ featureFlags: {
+ showIncomingTransactions: true,
+ },
+ }),
subscribe: sinon.spy(),
},
}