update ws orderbook tests
This commit is contained in:
@@ -46,7 +46,7 @@ describe('Public Contract Inverse Websocket Client', () => {
|
|||||||
const wsResponsePromise = waitForSocketEvent(wsClient, 'response');
|
const wsResponsePromise = waitForSocketEvent(wsClient, 'response');
|
||||||
const wsUpdatePromise = waitForSocketEvent(wsClient, 'update');
|
const wsUpdatePromise = waitForSocketEvent(wsClient, 'update');
|
||||||
|
|
||||||
const wsTopic = 'orderbook.25.BTCUSD';
|
const wsTopic = 'orderbook.1.BTCUSD';
|
||||||
wsClient.subscribe(wsTopic);
|
wsClient.subscribe(wsTopic);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ describe('Public Contract USDT Websocket Client', () => {
|
|||||||
const wsResponsePromise = waitForSocketEvent(wsClient, 'response');
|
const wsResponsePromise = waitForSocketEvent(wsClient, 'response');
|
||||||
const wsUpdatePromise = waitForSocketEvent(wsClient, 'update');
|
const wsUpdatePromise = waitForSocketEvent(wsClient, 'update');
|
||||||
|
|
||||||
const wsTopic = 'orderbook.25.BTCUSDT';
|
const wsTopic = 'orderbook.1.BTCUSDT';
|
||||||
wsClient.subscribe(wsTopic);
|
wsClient.subscribe(wsTopic);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user