aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-12-17 09:46:28 +0800
committerFabio Berger <me@fabioberger.com>2018-12-17 09:46:28 +0800
commit5d0e715d9ac9f358c1cdf23c9c96d622e0f1060c (patch)
tree9b7c5dc2983d40e6332105280ef5182e94609867 /packages/order-watcher/test
parent896c8d17c16c4f1e9670ab0747ae8934ce5400a5 (diff)
downloaddexon-0x-contracts-5d0e715d9ac9f358c1cdf23c9c96d622e0f1060c.tar.gz
dexon-0x-contracts-5d0e715d9ac9f358c1cdf23c9c96d622e0f1060c.tar.zst
dexon-0x-contracts-5d0e715d9ac9f358c1cdf23c9c96d622e0f1060c.zip
Add isVerbose option to enable/disable logging
Diffstat (limited to 'packages/order-watcher/test')
-rw-r--r--packages/order-watcher/test/order_watcher_websocket_server_test.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/order-watcher/test/order_watcher_websocket_server_test.ts b/packages/order-watcher/test/order_watcher_websocket_server_test.ts
index d21c676fc..d1a947105 100644
--- a/packages/order-watcher/test/order_watcher_websocket_server_test.ts
+++ b/packages/order-watcher/test/order_watcher_websocket_server_test.ts
@@ -105,7 +105,14 @@ describe.only('OrderWatcherWebSocketServer', async () => {
// Prepare OrderWatcher WebSocket server
const orderWatcherConfig = {};
- wsServer = new OrderWatcherWebSocketServer(provider, networkId, contractAddresses, orderWatcherConfig);
+ const isVerbose = true;
+ wsServer = new OrderWatcherWebSocketServer(
+ provider,
+ networkId,
+ contractAddresses,
+ isVerbose,
+ orderWatcherConfig,
+ );
wsServer.start();
});
after(async () => {