aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib
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/lib
parentaf873129bb3beea559d69b52ce0f4f76dbacd199 (diff)
downloadtangerine-wallet-browser-ce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2.tar
tangerine-wallet-browser-ce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2.tar.gz
tangerine-wallet-browser-ce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2.tar.bz2
tangerine-wallet-browser-ce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2.tar.lz
tangerine-wallet-browser-ce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2.tar.xz
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/lib')
-rw-r--r--test/lib/mock-tx-gen.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/mock-tx-gen.js b/test/lib/mock-tx-gen.js
index 106101500..e39551a7a 100644
--- a/test/lib/mock-tx-gen.js
+++ b/test/lib/mock-tx-gen.js
@@ -2,6 +2,7 @@ const extend = require('xtend')
const BN = require('ethereumjs-util').BN
const template = {
'status': 'submitted',
+ 'history': [{}],
'txParams': {
'from': '0x7d3517b0d011698406d6e0aed8453f0be2697926',
'gas': '0x30d40',