diff options
author | Fabio Berger <me@fabioberger.com> | 2018-12-17 09:46:28 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-12-17 09:46:28 +0800 |
commit | 5d0e715d9ac9f358c1cdf23c9c96d622e0f1060c (patch) | |
tree | 9b7c5dc2983d40e6332105280ef5182e94609867 /packages/order-watcher/test | |
parent | 896c8d17c16c4f1e9670ab0747ae8934ce5400a5 (diff) | |
download | dexon-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.ts | 9 |
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 () => { |