From e6f90c25abd53190069e5e30a6fd41773f12c1e4 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Wed, 17 May 2023 13:30:08 +0100 Subject: [PATCH] chore(): fix flaky test --- test/v5/public.ws.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/v5/public.ws.test.ts b/test/v5/public.ws.test.ts index 13954a6..828490b 100644 --- a/test/v5/public.ws.test.ts +++ b/test/v5/public.ws.test.ts @@ -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.BTCUSDT) failed to subscribe'); + expect(e).toMatch(`(publicTrade.${linearSymbol}X) failed to subscribe`); } }); });