chore(): fix flaky test

This commit is contained in:
tiagosiebler
2023-05-17 13:30:08 +01:00
parent e2e1580cd5
commit e6f90c25ab

View File

@@ -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`);
} }
}); });
}); });