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

@@ -38,7 +38,7 @@ describe('Private Linear Perps Websocket Client', () => {
} catch (e) {
expect(e?.message).toStrictEqual('Unexpected server response: 401');
}
badClient.closeAll();
badClient.closeAll(true);
});
});
@@ -65,7 +65,7 @@ describe('Private Linear Perps Websocket Client', () => {
});
afterAll(() => {
wsClient.closeAll();
wsClient.closeAll(true);
});
it('should open a ws connection', async () => {