chore(): fix flaky test
This commit is contained in:
@@ -20,7 +20,7 @@ describe('Public V5 Websocket client', () => {
|
|||||||
await api.subscribeV5(`publicTrade.${linearSymbol}X`, linearCategory);
|
await api.subscribeV5(`publicTrade.${linearSymbol}X`, linearCategory);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
expect(e).toBeDefined();
|
expect(e).toBeDefined();
|
||||||
expect(e).toMatch('(publicTrade.BTCUSDT) failed to subscribe');
|
expect(e).toMatch(`(publicTrade.${linearSymbol}X) failed to subscribe`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user