mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
nonce-tracker - fix test
This commit is contained in:
parent
35a128db1e
commit
55a55141d0
@ -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,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user