aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-10 05:59:41 +0800
committerFabio Berger <me@fabioberger.com>2017-11-10 05:59:41 +0800
commit126a165f558326625d892c4a379c0ebd66088c9a (patch)
treeac7b872b3cd84e0fcb650845eae08bf40c841f50 /test
parent6f5a55b5fe4c6f0f56303b6ac5dcbd99129ee7bd (diff)
downloaddexon-sol-tools-126a165f558326625d892c4a379c0ebd66088c9a.tar
dexon-sol-tools-126a165f558326625d892c4a379c0ebd66088c9a.tar.gz
dexon-sol-tools-126a165f558326625d892c4a379c0ebd66088c9a.tar.bz2
dexon-sol-tools-126a165f558326625d892c4a379c0ebd66088c9a.tar.lz
dexon-sol-tools-126a165f558326625d892c4a379c0ebd66088c9a.tar.xz
dexon-sol-tools-126a165f558326625d892c4a379c0ebd66088c9a.tar.zst
dexon-sol-tools-126a165f558326625d892c4a379c0ebd66088c9a.zip
Add nested config for orderWatcher
Diffstat (limited to 'test')
-rw-r--r--test/event_watcher_test.ts6
-rw-r--r--test/order_state_watcher_test.ts2
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,