aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-07-27 02:43:37 +0800
committerkumavis <aaron@kumavis.me>2017-07-27 02:43:37 +0800
commit55a55141d08f7827cb23f4213a6d88351803fbff (patch)
treea951967d7c5760ec2e66cb358fdf1b3c065cf1c9
parent35a128db1e6ecba9076ec145c9d2334f623703b7 (diff)
downloadtangerine-wallet-browser-55a55141d08f7827cb23f4213a6d88351803fbff.tar
tangerine-wallet-browser-55a55141d08f7827cb23f4213a6d88351803fbff.tar.gz
tangerine-wallet-browser-55a55141d08f7827cb23f4213a6d88351803fbff.tar.bz2
tangerine-wallet-browser-55a55141d08f7827cb23f4213a6d88351803fbff.tar.lz
tangerine-wallet-browser-55a55141d08f7827cb23f4213a6d88351803fbff.tar.xz
tangerine-wallet-browser-55a55141d08f7827cb23f4213a6d88351803fbff.tar.zst
tangerine-wallet-browser-55a55141d08f7827cb23f4213a6d88351803fbff.zip
nonce-tracker - fix test
-rw-r--r--test/unit/nonce-tracker-test.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/unit/nonce-tracker-test.js b/test/unit/nonce-tracker-test.js
index 16cd6d008..b0283e159 100644
--- a/test/unit/nonce-tracker-test.js
+++ b/test/unit/nonce-tracker-test.js
@@ -18,11 +18,13 @@ describe('Nonce Tracker', function () {
getPendingTransactions = () => pendingTxs
- provider = { sendAsync: (_, cb) => { cb(undefined, {result: '0x0'}) } }
- nonceTracker = new NonceTracker({
- blockTracker: {
+ provider = {
+ sendAsync: (_, cb) => { cb(undefined, {result: '0x0'}) },
+ _blockTracker: {
getCurrentBlock: () => '0x11b568',
},
+ }
+ nonceTracker = new NonceTracker({
provider,
getPendingTransactions,
})