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