force close test websockets

This commit is contained in:
tiagosiebler
2022-11-11 10:24:16 +00:00
parent 30ceb61771
commit e0799a623f
16 changed files with 21 additions and 21 deletions

View File

@@ -40,7 +40,7 @@ describe('Private Inverse Perps Websocket Client', () => {
// console.error()
expect(e?.message).toStrictEqual('Unexpected server response: 401');
}
badClient.closeAll();
badClient.closeAll(true);
});
});
@@ -62,7 +62,7 @@ describe('Private Inverse Perps Websocket Client', () => {
afterAll(() => {
// await promiseSleep(2000);
wsClient.closeAll();
wsClient.closeAll(true);
});
it('should open a ws connection', async () => {