fix test names & cleaning
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { AccountAssetClient } from '../../src/';
|
||||
import { successResponseObject } from '../response.util';
|
||||
|
||||
describe('Private Account Asset REST API Endpoints', () => {
|
||||
describe('Private Account Asset REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { API_ERROR_CODE, CopyTradingClient } from '../../src';
|
||||
import { successResponseObject } from '../response.util';
|
||||
|
||||
describe('Private Copy Trading REST API Endpoints', () => {
|
||||
describe('Private Copy Trading REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { InverseFuturesClient } from '../../src/inverse-futures-client';
|
||||
import { successResponseList, successResponseObject } from '../response.util';
|
||||
|
||||
describe('Public Inverse-Futures REST API GET Endpoints', () => {
|
||||
describe('Private Inverse-Futures REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
successResponseObject,
|
||||
} from '../response.util';
|
||||
|
||||
describe('Public Inverse Futures REST API Endpoints', () => {
|
||||
describe('Public Inverse-Futures REST API Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const api = new InverseFuturesClient(undefined, undefined, useLivenet);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { InverseClient } from '../../src/';
|
||||
import { successResponseList, successResponseObject } from '../response.util';
|
||||
|
||||
describe('Private Inverse REST API Endpoints', () => {
|
||||
describe('Private Inverse REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -2,7 +2,7 @@ import { API_ERROR_CODE } from '../../src';
|
||||
import { InverseClient } from '../../src/inverse-client';
|
||||
import { successResponseObject } from '../response.util';
|
||||
|
||||
describe('Private Inverse REST API Endpoints', () => {
|
||||
describe('Private Inverse REST API POST Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { LinearClient } from '../../src/linear-client';
|
||||
import { successResponseList, successResponseObject } from '../response.util';
|
||||
|
||||
describe('Public Linear REST API GET Endpoints', () => {
|
||||
describe('Private Linear REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { API_ERROR_CODE, LinearClient } from '../../src';
|
||||
import { successResponseObject } from '../response.util';
|
||||
|
||||
describe('Private Inverse-Futures REST API POST Endpoints', () => {
|
||||
describe('Private Linear REST API POST Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
import { SpotClient } from '../../src';
|
||||
import {
|
||||
errorResponseObject,
|
||||
notAuthenticatedError,
|
||||
successResponseList,
|
||||
successResponseObject,
|
||||
} from '../response.util';
|
||||
import { errorResponseObject, successResponseList } from '../response.util';
|
||||
|
||||
describe('Private Spot REST API Endpoints', () => {
|
||||
describe('Private Spot REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { API_ERROR_CODE, SpotClient } from '../../src';
|
||||
import { successResponseObject } from '../response.util';
|
||||
|
||||
describe('Private Inverse-Futures REST API POST Endpoints', () => {
|
||||
describe('Private Spot REST API POST Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
successResponseObjectV3,
|
||||
} from '../response.util';
|
||||
|
||||
describe('Private Spot REST API Endpoints', () => {
|
||||
describe('Private Spot REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
import { API_ERROR_CODE, SpotClientV3 } from '../../src';
|
||||
import {
|
||||
successResponseObject,
|
||||
successResponseObjectV3,
|
||||
} from '../response.util';
|
||||
import { successResponseObjectV3 } from '../response.util';
|
||||
|
||||
describe('Private Inverse-Futures REST API POST Endpoints', () => {
|
||||
describe('Private Spot REST API POST Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { SpotClientV3 } from '../../src';
|
||||
import {
|
||||
notAuthenticatedError,
|
||||
successResponseList,
|
||||
successResponseObject,
|
||||
successResponseObjectV3,
|
||||
} from '../response.util';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { API_ERROR_CODE, UnifiedMarginClient } from '../../src';
|
||||
import { successResponseObjectV3 } from '../response.util';
|
||||
|
||||
describe('Private Unified Margin REST API Endpoints', () => {
|
||||
describe('Private Unified Margin REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { API_ERROR_CODE, UnifiedMarginClient } from '../../src';
|
||||
|
||||
describe('Private Unified Margin REST API Endpoints', () => {
|
||||
describe('Private Unified Margin REST API POST Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { USDCOptionClient } from '../../../src';
|
||||
import { successResponseObjectV3 } from '../../response.util';
|
||||
|
||||
describe('Private Account Asset REST API Endpoints', () => {
|
||||
describe('Private USDC Options REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { API_ERROR_CODE, USDCOptionClient } from '../../../src';
|
||||
import { successResponseObjectV3 } from '../../response.util';
|
||||
|
||||
describe('Private Account Asset REST API Endpoints', () => {
|
||||
describe('Private USDC Options REST API POST Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { USDCPerpetualClient } from '../../../src';
|
||||
import { successResponseObjectV3 } from '../../response.util';
|
||||
|
||||
describe('Private Account Asset REST API Endpoints', () => {
|
||||
describe('Private USDC Perp REST API GET Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
successResponseObjectV3,
|
||||
} from '../../response.util';
|
||||
|
||||
describe('Private Account Asset REST API Endpoints', () => {
|
||||
describe('Private USDC Perp REST API POST Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
successResponseObjectV3,
|
||||
} from '../../response.util';
|
||||
|
||||
describe('Public USDC Options REST API Endpoints', () => {
|
||||
describe('Public USDC Perp REST API Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const API_KEY = undefined;
|
||||
const API_SECRET = undefined;
|
||||
|
||||
Reference in New Issue
Block a user