chore(): moved tests to subfolder
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { API_ERROR_CODE, BrokerClient } from '../../src';
|
import { API_ERROR_CODE, BrokerClient } from '../../../src';
|
||||||
import { sucessEmptyResponseObject } from '../response.util';
|
import { sucessEmptyResponseObject } from '../../response.util';
|
||||||
|
|
||||||
describe('Private Broker REST API GET Endpoints', () => {
|
describe('Private Broker REST API GET Endpoints', () => {
|
||||||
const API_KEY = process.env.API_KEY_COM;
|
const API_KEY = process.env.API_KEY_COM;
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import { API_ERROR_CODE, BrokerClient } from '../../src';
|
import { API_ERROR_CODE, BrokerClient } from '../../../src';
|
||||||
import { sucessEmptyResponseObject } from '../response.util';
|
import { sucessEmptyResponseObject } from '../../response.util';
|
||||||
|
|
||||||
describe('Private Broker REST API POST Endpoints', () => {
|
describe('Private Broker REST API POST Endpoints', () => {
|
||||||
const API_KEY = process.env.API_KEY_COM;
|
const API_KEY = process.env.API_KEY_COM;
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SpotClient } from '../../src';
|
import { SpotClient } from '../../../src';
|
||||||
import { sucessEmptyResponseObject } from '../response.util';
|
import { sucessEmptyResponseObject } from '../../response.util';
|
||||||
|
|
||||||
describe('Private Spot REST API GET Endpoints', () => {
|
describe('Private Spot REST API GET Endpoints', () => {
|
||||||
const API_KEY = process.env.API_KEY_COM;
|
const API_KEY = process.env.API_KEY_COM;
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import { API_ERROR_CODE, SpotClient } from '../../src';
|
import { API_ERROR_CODE, SpotClient } from '../../../src';
|
||||||
import { sucessEmptyResponseObject } from '../response.util';
|
import { sucessEmptyResponseObject } from '../../response.util';
|
||||||
|
|
||||||
describe('Private Spot REST API POST Endpoints', () => {
|
describe('Private Spot REST API POST Endpoints', () => {
|
||||||
const API_KEY = process.env.API_KEY_COM;
|
const API_KEY = process.env.API_KEY_COM;
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
import { SpotClient } from '../../src';
|
import { SpotClient } from '../../../src';
|
||||||
import {
|
import {
|
||||||
successResponseString,
|
successResponseString,
|
||||||
sucessEmptyResponseObject,
|
sucessEmptyResponseObject,
|
||||||
} from '../response.util';
|
} from '../../response.util';
|
||||||
|
|
||||||
describe('Public Spot REST API Endpoints', () => {
|
describe('Public Spot REST API Endpoints', () => {
|
||||||
const api = new SpotClient();
|
const api = new SpotClient();
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
import { RestClientV2 } from '../src/rest-client-v2';
|
import { RestClientV2 } from '../../src/rest-client-v2';
|
||||||
import {
|
import {
|
||||||
errorResponseObjectV3,
|
errorResponseObjectV3,
|
||||||
sucessEmptyResponseObject,
|
sucessEmptyResponseObject,
|
||||||
} from './response.util';
|
} from '../response.util';
|
||||||
|
|
||||||
describe('Bitget Private REST API Read Endpoints', () => {
|
describe('Bitget Private REST API Read Endpoints', () => {
|
||||||
const API_KEY = process.env.API_KEY_COM;
|
const API_KEY = process.env.API_KEY_COM;
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
import { RestClientV2 } from '../src/rest-client-v2';
|
import { RestClientV2 } from '../../src/rest-client-v2';
|
||||||
import {
|
import {
|
||||||
errorResponseObjectV3,
|
errorResponseObjectV3,
|
||||||
sucessEmptyResponseObject,
|
sucessEmptyResponseObject,
|
||||||
} from './response.util';
|
} from '../response.util';
|
||||||
|
|
||||||
describe('Bitget Private REST API Write Endpoints', () => {
|
describe('Bitget Private REST API Write Endpoints', () => {
|
||||||
const API_KEY = process.env.API_KEY_COM;
|
const API_KEY = process.env.API_KEY_COM;
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import { RestClientV2 } from '../src/rest-client-v2';
|
import { RestClientV2 } from '../../src/rest-client-v2';
|
||||||
import { sucessEmptyResponseObject } from './response.util';
|
import { sucessEmptyResponseObject } from '../response.util';
|
||||||
|
|
||||||
describe('Bitget Public REST API Endpoints', () => {
|
describe('Bitget Public REST API Endpoints', () => {
|
||||||
const api = new RestClientV2();
|
const api = new RestClientV2();
|
||||||
Reference in New Issue
Block a user