1
0
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:
kumavis 2018-05-29 01:08:55 -07:00
parent 58de5671cc
commit 32293a959c

View File

@ -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),