aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/app/controllers/transactions/pending-tx-test.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2018-11-17 02:34:08 +0800
committerDan Finlay <542863+danfinlay@users.noreply.github.com>2018-11-17 02:34:08 +0800
commitce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2 (patch)
tree3e8752c040bf25095f99a73e0c9c38c8679c8016 /test/unit/app/controllers/transactions/pending-tx-test.js
parentaf873129bb3beea559d69b52ce0f4f76dbacd199 (diff)
downloadtangerine-wallet-browser-ce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2.tar.gz
tangerine-wallet-browser-ce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2.tar.zst
tangerine-wallet-browser-ce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2.zip
Tx controller now uses safe event emitter (#5769)
* transactions - use safe-event-emitter over events * tests - pass a platform object on init with a noop showTransactionNotification * test - fix for tx-state-history-helper trying to reduce an empty array * deps - safe-event-emitter * lint
Diffstat (limited to 'test/unit/app/controllers/transactions/pending-tx-test.js')
-rw-r--r--test/unit/app/controllers/transactions/pending-tx-test.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/app/controllers/transactions/pending-tx-test.js b/test/unit/app/controllers/transactions/pending-tx-test.js
index 85b0969f5..2988bf61f 100644
--- a/test/unit/app/controllers/transactions/pending-tx-test.js
+++ b/test/unit/app/controllers/transactions/pending-tx-test.js
@@ -20,10 +20,12 @@ describe('PendingTransactionTracker', function () {
nonce: '0x1',
value: '0xfffff',
},
+ history: [{}],
rawTx: '0xf86c808504a817c800827b0d940c62bb85faa3311a998d3aba8098c1235c564966880de0b6b3a7640000802aa08ff665feb887a25d4099e40e11f0fef93ee9608f404bd3f853dd9e84ed3317a6a02ec9d3d1d6e176d4d2593dd760e74ccac753e6a0ea0d00cc9789d0d7ff1f471d',
}
txMetaNoHash = {
id: 2,
+ history: [{}],
status: 'submitted',
txParams: { from: '0x1678a085c290ebd122dc42cba69373b5953b831d'},
}