diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/event_watcher_test.ts | 6 | ||||
-rw-r--r-- | test/order_state_watcher_test.ts | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/event_watcher_test.ts b/test/event_watcher_test.ts index a246805a0..8f3898287 100644 --- a/test/event_watcher_test.ts +++ b/test/event_watcher_test.ts @@ -7,7 +7,7 @@ import BigNumber from 'bignumber.js'; import {chaiSetup} from './utils/chai_setup'; import {web3Factory} from './utils/web3_factory'; import {Web3Wrapper} from '../src/web3_wrapper'; -import {EventWatcher} from '../src/mempool/event_watcher'; +import {EventWatcher} from '../src/order_watcher/event_watcher'; import { ZeroEx, LogEvent, @@ -56,9 +56,9 @@ describe('EventWatcher', () => { }; before(async () => { web3 = web3Factory.create(); - const mempoolPollingIntervalMs = 10; + const pollingIntervalMs = 10; web3Wrapper = new Web3Wrapper(web3.currentProvider); - eventWatcher = new EventWatcher(web3Wrapper, mempoolPollingIntervalMs); + eventWatcher = new EventWatcher(web3Wrapper, pollingIntervalMs); }); afterEach(() => { // clean up any stubs after the test has completed diff --git a/test/order_state_watcher_test.ts b/test/order_state_watcher_test.ts index 938e1be4c..6060d64c5 100644 --- a/test/order_state_watcher_test.ts +++ b/test/order_state_watcher_test.ts @@ -6,7 +6,7 @@ import BigNumber from 'bignumber.js'; import { chaiSetup } from './utils/chai_setup'; import { web3Factory } from './utils/web3_factory'; import { Web3Wrapper } from '../src/web3_wrapper'; -import { OrderStateWatcher } from '../src/mempool/order_state_watcher'; +import { OrderStateWatcher } from '../src/order_watcher/order_state_watcher'; import { Token, ZeroEx, |