mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-10-22 19:26:13 +02:00
test - unit - tx-controller - fix blockTracker stub
This commit is contained in:
parent
58de5671cc
commit
32293a959c
@ -29,6 +29,7 @@ describe('Transaction Controller', function () {
|
|||||||
fromAccount = getTestAccounts()[0]
|
fromAccount = getTestAccounts()[0]
|
||||||
const blockTrackerStub = new EventEmitter()
|
const blockTrackerStub = new EventEmitter()
|
||||||
blockTrackerStub.getCurrentBlock = noop
|
blockTrackerStub.getCurrentBlock = noop
|
||||||
|
blockTrackerStub.getLatestBlock = noop
|
||||||
txController = new TransactionController({
|
txController = new TransactionController({
|
||||||
provider,
|
provider,
|
||||||
networkStore: new ObservableStore(currentNetworkId),
|
networkStore: new ObservableStore(currentNetworkId),
|
||||||
|
Loading…
Reference in New Issue
Block a user