chore(): skip tests for deprecated API categories
This commit is contained in:
@@ -2,7 +2,7 @@ import { InverseFuturesClient } from '../../src/inverse-futures-client';
|
|||||||
import { getTestProxy } from '../proxy.util';
|
import { getTestProxy } from '../proxy.util';
|
||||||
import { successResponseList, successResponseObject } from '../response.util';
|
import { successResponseList, successResponseObject } from '../response.util';
|
||||||
|
|
||||||
describe('Private Inverse-Futures REST API GET Endpoints', () => {
|
describe.skip('Private Inverse-Futures REST API GET Endpoints', () => {
|
||||||
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;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { API_ERROR_CODE, InverseFuturesClient } from '../../src';
|
|||||||
import { getTestProxy } from '../proxy.util';
|
import { getTestProxy } from '../proxy.util';
|
||||||
import { successResponseObject } from '../response.util';
|
import { successResponseObject } from '../response.util';
|
||||||
|
|
||||||
describe('Private Inverse-Futures REST API POST Endpoints', () => {
|
describe.skip('Private Inverse-Futures REST API POST Endpoints', () => {
|
||||||
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;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
successResponseObject,
|
successResponseObject,
|
||||||
} from '../response.util';
|
} from '../response.util';
|
||||||
|
|
||||||
describe('Public Inverse-Futures REST API Endpoints', () => {
|
describe.skip('Public Inverse-Futures REST API Endpoints', () => {
|
||||||
const api = new InverseFuturesClient({}, getTestProxy());
|
const api = new InverseFuturesClient({}, getTestProxy());
|
||||||
|
|
||||||
const symbol = 'BTCUSD';
|
const symbol = 'BTCUSD';
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { InverseClient } from '../../src/';
|
|||||||
import { getTestProxy } from '../proxy.util';
|
import { getTestProxy } from '../proxy.util';
|
||||||
import { successResponseList, successResponseObject } from '../response.util';
|
import { successResponseList, successResponseObject } from '../response.util';
|
||||||
|
|
||||||
describe('Private Inverse REST API GET Endpoints', () => {
|
describe.skip('Private Inverse REST API GET Endpoints', () => {
|
||||||
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;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { InverseClient } from '../../src/inverse-client';
|
|||||||
import { getTestProxy } from '../proxy.util';
|
import { getTestProxy } from '../proxy.util';
|
||||||
import { successResponseObject } from '../response.util';
|
import { successResponseObject } from '../response.util';
|
||||||
|
|
||||||
describe('Private Inverse REST API POST Endpoints', () => {
|
describe.skip('Private Inverse REST API POST Endpoints', () => {
|
||||||
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;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
successResponseObject,
|
successResponseObject,
|
||||||
} from '../response.util';
|
} from '../response.util';
|
||||||
|
|
||||||
describe('Public Inverse REST API Endpoints', () => {
|
describe.skip('Public Inverse REST API Endpoints', () => {
|
||||||
const api = new InverseClient({}, getTestProxy());
|
const api = new InverseClient({}, getTestProxy());
|
||||||
|
|
||||||
const symbol = 'BTCUSD';
|
const symbol = 'BTCUSD';
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
waitForSocketEvent,
|
waitForSocketEvent,
|
||||||
} from '../ws.util';
|
} from '../ws.util';
|
||||||
|
|
||||||
describe('Private Inverse Perps Websocket Client', () => {
|
describe.skip('Private Inverse Perps 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;
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ describe('Private Inverse Perps Websocket Client', () => {
|
|||||||
key: 'bad',
|
key: 'bad',
|
||||||
secret: 'bad',
|
secret: 'bad',
|
||||||
},
|
},
|
||||||
getSilentLogger('expect401')
|
getSilentLogger('expect401'),
|
||||||
);
|
);
|
||||||
|
|
||||||
const wsOpenPromise = waitForSocketEvent(badClient, 'open', 2500);
|
const wsOpenPromise = waitForSocketEvent(badClient, 'open', 2500);
|
||||||
@@ -55,7 +55,7 @@ describe('Private Inverse Perps Websocket Client', () => {
|
|||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
wsClient = new WebsocketClient(
|
wsClient = new WebsocketClient(
|
||||||
wsClientOptions,
|
wsClientOptions,
|
||||||
getSilentLogger('expectSuccess')
|
getSilentLogger('expectSuccess'),
|
||||||
);
|
);
|
||||||
wsClient.connectPrivate();
|
wsClient.connectPrivate();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
waitForSocketEvent,
|
waitForSocketEvent,
|
||||||
} from '../ws.util';
|
} from '../ws.util';
|
||||||
|
|
||||||
describe('Public Inverse Perps Websocket Client', () => {
|
describe.skip('Public Inverse Perps Websocket Client', () => {
|
||||||
let wsClient: WebsocketClient;
|
let wsClient: WebsocketClient;
|
||||||
|
|
||||||
const wsClientOptions: WSClientConfigurableOptions = {
|
const wsClientOptions: WSClientConfigurableOptions = {
|
||||||
@@ -66,7 +66,7 @@ describe('Public Inverse Perps Websocket Client', () => {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(
|
console.error(
|
||||||
`Wait for "${wsTopic}" subscription response exception: `,
|
`Wait for "${wsTopic}" subscription response exception: `,
|
||||||
e
|
e,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { LinearClient } from '../../src/linear-client';
|
|||||||
import { getTestProxy } from '../proxy.util';
|
import { getTestProxy } from '../proxy.util';
|
||||||
import { successResponseList, successResponseObject } from '../response.util';
|
import { successResponseList, successResponseObject } from '../response.util';
|
||||||
|
|
||||||
describe('Private Linear REST API GET Endpoints', () => {
|
describe.skip('Private Linear REST API GET Endpoints', () => {
|
||||||
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;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { LinearClient } from '../../src';
|
|||||||
import { getTestProxy } from '../proxy.util';
|
import { getTestProxy } from '../proxy.util';
|
||||||
import { successResponseObject } from '../response.util';
|
import { successResponseObject } from '../response.util';
|
||||||
|
|
||||||
describe('Private Linear REST API POST Endpoints', () => {
|
describe.skip('Private Linear REST API POST Endpoints', () => {
|
||||||
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;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
successResponseObject,
|
successResponseObject,
|
||||||
} from '../response.util';
|
} from '../response.util';
|
||||||
|
|
||||||
describe('Public Linear REST API Endpoints', () => {
|
describe.skip('Public Linear REST API Endpoints', () => {
|
||||||
const api = new LinearClient({}, getTestProxy());
|
const api = new LinearClient({}, getTestProxy());
|
||||||
|
|
||||||
const symbol = 'BTCUSDT';
|
const symbol = 'BTCUSDT';
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
waitForSocketEvent,
|
waitForSocketEvent,
|
||||||
} from '../ws.util';
|
} from '../ws.util';
|
||||||
|
|
||||||
describe('Private Linear Perps Websocket Client', () => {
|
describe.skip('Private Linear Perps 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;
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ describe('Private Linear Perps Websocket Client', () => {
|
|||||||
key: 'bad',
|
key: 'bad',
|
||||||
secret: 'bad',
|
secret: 'bad',
|
||||||
},
|
},
|
||||||
getSilentLogger('expect401')
|
getSilentLogger('expect401'),
|
||||||
);
|
);
|
||||||
|
|
||||||
const wsOpenPromise = waitForSocketEvent(badClient, 'open', 2500);
|
const wsOpenPromise = waitForSocketEvent(badClient, 'open', 2500);
|
||||||
@@ -59,7 +59,7 @@ describe('Private Linear Perps Websocket Client', () => {
|
|||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
wsClient = new WebsocketClient(
|
wsClient = new WebsocketClient(
|
||||||
wsClientOptions,
|
wsClientOptions,
|
||||||
getSilentLogger('expectSuccess')
|
getSilentLogger('expectSuccess'),
|
||||||
);
|
);
|
||||||
wsClient.connectPrivate();
|
wsClient.connectPrivate();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
waitForSocketEvent,
|
waitForSocketEvent,
|
||||||
} from '../ws.util';
|
} from '../ws.util';
|
||||||
|
|
||||||
describe('Public Linear Perps Websocket Client', () => {
|
describe.skip('Public Linear Perps Websocket Client', () => {
|
||||||
let wsClient: WebsocketClient;
|
let wsClient: WebsocketClient;
|
||||||
|
|
||||||
const wsClientOptions: WSClientConfigurableOptions = {
|
const wsClientOptions: WSClientConfigurableOptions = {
|
||||||
|
|||||||
Reference in New Issue
Block a user