aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-12-17 08:21:27 +0800
committerFabio Berger <me@fabioberger.com>2018-12-17 08:21:27 +0800
commit7661cfc85ef9e267d15bd4d7bd06c3b6cc3f7931 (patch)
treebd4b5c8eacdd6e4bcdab486058cc8954253cbe5a /packages/order-watcher/test
parentf510f9df997633830e93e174ba598a45cae51f48 (diff)
downloaddexon-0x-contracts-7661cfc85ef9e267d15bd4d7bd06c3b6cc3f7931.tar.gz
dexon-0x-contracts-7661cfc85ef9e267d15bd4d7bd06c3b6cc3f7931.tar.zst
dexon-0x-contracts-7661cfc85ef9e267d15bd4d7bd06c3b6cc3f7931.zip
Improve our compliance to the JSON RPC spec
Diffstat (limited to 'packages/order-watcher/test')
-rw-r--r--packages/order-watcher/test/order_watcher_websocket_server_test.ts4
1 files changed, 2 insertions, 2 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 9f9db7b1f..8a6deede8 100644
--- a/packages/order-watcher/test/order_watcher_websocket_server_test.ts
+++ b/packages/order-watcher/test/order_watcher_websocket_server_test.ts
@@ -105,11 +105,11 @@ describe.only('OrderWatcherWebSocketServer', async () => {
// Prepare OrderWatcher WebSocket server
const orderWatcherConfig = {};
wsServer = new OrderWatcherWebSocketServer(provider, networkId, contractAddresses, orderWatcherConfig);
- wsServer.listen();
+ wsServer.start();
});
after(async () => {
await blockchainLifecycle.revertAsync();
- wsServer.close();
+ wsServer.stop();
});
beforeEach(async () => {
await blockchainLifecycle.startAsync();