mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-10-23 03:36:18 +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]
|
||||
const blockTrackerStub = new EventEmitter()
|
||||
blockTrackerStub.getCurrentBlock = noop
|
||||
blockTrackerStub.getLatestBlock = noop
|
||||
txController = new TransactionController({
|
||||
provider,
|
||||
networkStore: new ObservableStore(currentNetworkId),
|
||||
|
Loading…
Reference in New Issue
Block a user