chore(): moved tests to subfolder

This commit is contained in:
JJ-Cro
2025-03-25 17:31:55 +01:00
parent cde6f1b9a3
commit 34aeea065a
13 changed files with 18 additions and 18 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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();

View File

@@ -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;

View File

@@ -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;

View File

@@ -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();