diff --git a/test/broker/private.read.test.ts b/test/v1/broker/private.read.test.ts similarity index 95% rename from test/broker/private.read.test.ts rename to test/v1/broker/private.read.test.ts index f881293..6a42368 100644 --- a/test/broker/private.read.test.ts +++ b/test/v1/broker/private.read.test.ts @@ -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; diff --git a/test/broker/private.write.test.ts b/test/v1/broker/private.write.test.ts similarity index 96% rename from test/broker/private.write.test.ts rename to test/v1/broker/private.write.test.ts index 8fb7448..d3ae0eb 100644 --- a/test/broker/private.write.test.ts +++ b/test/v1/broker/private.write.test.ts @@ -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; diff --git a/test/futures/private.read.test.ts b/test/v1/futures/private.read.test.ts similarity index 100% rename from test/futures/private.read.test.ts rename to test/v1/futures/private.read.test.ts diff --git a/test/futures/private.write.test.ts b/test/v1/futures/private.write.test.ts similarity index 100% rename from test/futures/private.write.test.ts rename to test/v1/futures/private.write.test.ts diff --git a/test/futures/public.test.ts b/test/v1/futures/public.test.ts similarity index 100% rename from test/futures/public.test.ts rename to test/v1/futures/public.test.ts diff --git a/test/spot/private.read.test.ts b/test/v1/spot/private.read.test.ts similarity index 98% rename from test/spot/private.read.test.ts rename to test/v1/spot/private.read.test.ts index 761a4a6..a96ee3f 100644 --- a/test/spot/private.read.test.ts +++ b/test/v1/spot/private.read.test.ts @@ -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; diff --git a/test/spot/private.write.test.ts b/test/v1/spot/private.write.test.ts similarity index 98% rename from test/spot/private.write.test.ts rename to test/v1/spot/private.write.test.ts index db68dc6..d51b23d 100644 --- a/test/spot/private.write.test.ts +++ b/test/v1/spot/private.write.test.ts @@ -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; diff --git a/test/spot/public.test.ts b/test/v1/spot/public.test.ts similarity index 94% rename from test/spot/public.test.ts rename to test/v1/spot/public.test.ts index 29eed0c..527e5d1 100644 --- a/test/spot/public.test.ts +++ b/test/v1/spot/public.test.ts @@ -1,8 +1,8 @@ -import { SpotClient } from '../../src'; +import { SpotClient } from '../../../src'; import { - successResponseString, - sucessEmptyResponseObject, -} from '../response.util'; + successResponseString, + sucessEmptyResponseObject, +} from '../../response.util'; describe('Public Spot REST API Endpoints', () => { const api = new SpotClient(); diff --git a/test/ws.private.test.ts b/test/v1/ws.private.test.ts similarity index 100% rename from test/ws.private.test.ts rename to test/v1/ws.private.test.ts diff --git a/test/ws.public.test.ts b/test/v1/ws.public.test.ts similarity index 100% rename from test/ws.public.test.ts rename to test/v1/ws.public.test.ts diff --git a/test/private.read.test.ts b/test/v2/private.read.test.ts similarity index 98% rename from test/private.read.test.ts rename to test/v2/private.read.test.ts index 3b49fb2..6ea9af9 100644 --- a/test/private.read.test.ts +++ b/test/v2/private.read.test.ts @@ -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; diff --git a/test/private.write.test.ts b/test/v2/private.write.test.ts similarity index 98% rename from test/private.write.test.ts rename to test/v2/private.write.test.ts index 1aa8503..5553b35 100644 --- a/test/private.write.test.ts +++ b/test/v2/private.write.test.ts @@ -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; diff --git a/test/public.test.ts b/test/v2/public.test.ts similarity index 95% rename from test/public.test.ts rename to test/v2/public.test.ts index 40330b5..e33e5d3 100644 --- a/test/public.test.ts +++ b/test/v2/public.test.ts @@ -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();