diff --git a/test/spot/private.read.test.ts b/test/spot/private.read.test.ts index 34a6870..ec98202 100644 --- a/test/spot/private.read.test.ts +++ b/test/spot/private.read.test.ts @@ -29,15 +29,15 @@ describe('Private Spot REST API Endpoints', () => { }); it('getOpenOrders()', async () => { - expect(await api.getOpenOrders()).toMatchObject(successResponseList('')); + expect(await api.getOpenOrders()).toMatchObject(successResponseList()); }); it('getPastOrders()', async () => { - expect(await api.getPastOrders()).toMatchObject(successResponseList('')); + expect(await api.getPastOrders()).toMatchObject(successResponseList()); }); it('getMyTrades()', async () => { - expect(await api.getMyTrades()).toMatchObject(successResponseList('')); + expect(await api.getMyTrades()).toMatchObject(successResponseList()); }); it('getBalances()', async () => { @@ -46,7 +46,7 @@ describe('Private Spot REST API Endpoints', () => { balances: expect.any(Array), }, ret_code: 0, - ret_msg: '', + ret_msg: 'OK', }); }); }); diff --git a/test/spot/public.test.ts b/test/spot/public.test.ts index c3c7c76..f0d261c 100644 --- a/test/spot/public.test.ts +++ b/test/spot/public.test.ts @@ -24,7 +24,7 @@ describe('Public Spot REST API Endpoints', () => { }); it('getSymbols()', async () => { - expect(await api.getSymbols()).toMatchObject(successResponseList('')); + expect(await api.getSymbols()).toMatchObject(successResponseList()); }); it('getOrderBook()', async () => {