diff --git a/libtextsecure/test/websocket-resources_test.js b/libtextsecure/test/websocket-resources_test.js index 20b9fe95..46b70550 100644 --- a/libtextsecure/test/websocket-resources_test.js +++ b/libtextsecure/test/websocket-resources_test.js @@ -129,7 +129,7 @@ }); }); var resource = new WebSocketResource(new WebSocket('ws://localhost:8081'), { - keepalive: { path: '/v1/keepalive' } + keepalive: { path: '/v1/keepalive', disconnect: true } }); }); @@ -146,7 +146,7 @@ }); }); var resource = new WebSocketResource(new WebSocket('ws://localhost:8081'), { - keepalive: true + keepalive: { disconnect: true } }); });