chore(): skip old USDC ws tests

This commit is contained in:
tiagosiebler
2023-12-11 09:47:53 +00:00
parent 8fce364895
commit 662de8b9c6
2 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ import {
waitForSocketEvent, waitForSocketEvent,
} from '../../ws.util'; } from '../../ws.util';
describe('Private USDC Perp Websocket Client', () => { describe.skip('Private USDC Perp Websocket Client', () => {
const API_KEY = process.env.API_KEY_COM; const API_KEY = process.env.API_KEY_COM;
const API_SECRET = process.env.API_SECRET_COM; const API_SECRET = process.env.API_SECRET_COM;
@@ -36,7 +36,7 @@ describe('Private USDC Perp Websocket Client', () => {
reconnectTimeout: 10000, reconnectTimeout: 10000,
}, },
// fullLogger // fullLogger
getSilentLogger('expect401') getSilentLogger('expect401'),
); );
// logAllEvents(badClient); // logAllEvents(badClient);
@@ -77,7 +77,7 @@ describe('Private USDC Perp Websocket Client', () => {
beforeAll(() => { beforeAll(() => {
wsClient = new WebsocketClient( wsClient = new WebsocketClient(
wsClientOptions, wsClientOptions,
getSilentLogger('expectSuccess') getSilentLogger('expectSuccess'),
); );
wsClient.connectPrivate(); wsClient.connectPrivate();
// logAllEvents(wsClient); // logAllEvents(wsClient);
@@ -131,7 +131,7 @@ describe('Private USDC Perp Websocket Client', () => {
} catch (e) { } catch (e) {
console.error( console.error(
`Wait for "${wsTopic}" subscription response exception: `, `Wait for "${wsTopic}" subscription response exception: `,
e e,
); );
expect(e).toBeFalsy(); expect(e).toBeFalsy();
} }

View File

@@ -9,7 +9,7 @@ import {
waitForSocketEvent, waitForSocketEvent,
} from '../../ws.util'; } from '../../ws.util';
describe('Public USDC Perp Websocket Client', () => { describe.skip('Public USDC Perp Websocket Client', () => {
let wsClient: WebsocketClient; let wsClient: WebsocketClient;
const wsClientOptions: WSClientConfigurableOptions = { const wsClientOptions: WSClientConfigurableOptions = {
@@ -19,7 +19,7 @@ describe('Public USDC Perp Websocket Client', () => {
beforeAll(() => { beforeAll(() => {
wsClient = new WebsocketClient( wsClient = new WebsocketClient(
wsClientOptions, wsClientOptions,
getSilentLogger('expectSuccessNoAuth') getSilentLogger('expectSuccessNoAuth'),
); );
wsClient.connectPublic(); wsClient.connectPublic();
// logAllEvents(wsClient); // logAllEvents(wsClient);