aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/tx-controller-test.js
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-06-16 04:48:48 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-06-16 04:48:48 +0800
commit2e5deef2b0bdaaa67ee1584da52b7001cc9e849b (patch)
tree95368d3f425265b5cb3af30b702cd6c832148648 /test/unit/tx-controller-test.js
parent07539a63e4378153778b5bb264aaffad7e46cf34 (diff)
downloadtangerine-wallet-browser-2e5deef2b0bdaaa67ee1584da52b7001cc9e849b.tar
tangerine-wallet-browser-2e5deef2b0bdaaa67ee1584da52b7001cc9e849b.tar.gz
tangerine-wallet-browser-2e5deef2b0bdaaa67ee1584da52b7001cc9e849b.tar.bz2
tangerine-wallet-browser-2e5deef2b0bdaaa67ee1584da52b7001cc9e849b.tar.lz
tangerine-wallet-browser-2e5deef2b0bdaaa67ee1584da52b7001cc9e849b.tar.xz
tangerine-wallet-browser-2e5deef2b0bdaaa67ee1584da52b7001cc9e849b.tar.zst
tangerine-wallet-browser-2e5deef2b0bdaaa67ee1584da52b7001cc9e849b.zip
check nonce and balance when resubmiting tx
Diffstat (limited to 'test/unit/tx-controller-test.js')
-rw-r--r--test/unit/tx-controller-test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/tx-controller-test.js b/test/unit/tx-controller-test.js
index f0d8a706e..702bdd03d 100644
--- a/test/unit/tx-controller-test.js
+++ b/test/unit/tx-controller-test.js
@@ -19,6 +19,7 @@ describe('Transaction Controller', function () {
txController = new TransactionController({
networkStore: new ObservableStore(currentNetworkId),
txHistoryLimit: 10,
+ provider: { _blockTracker: new EventEmitter() },
blockTracker: new EventEmitter(),
ethQuery: new EthQuery(new EventEmitter()),
signTransaction: (ethTx) => new Promise((resolve) => {