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