using typeguards and removed useless logging

This commit is contained in:
Caius Citiriga
2023-05-10 20:48:02 +02:00
parent 75a97fc9d4
commit 4bf527bef8
6 changed files with 51 additions and 29 deletions

View File

@@ -20,7 +20,7 @@ describe('Public V5 Websocket client', () => {
await api.subscribeV5(`publicTrade.${linearSymbol}X`, linearCategory);
} catch (e) {
expect(e).toBeDefined();
expect(e).toMatch('(publicTrade.BTCUSDTX) failed to subscribe');
expect(e).toMatch('(publicTrade.BTCUSDT) failed to subscribe');
}
});
});