fix tests from refactoring

This commit is contained in:
tiagosiebler
2022-09-10 13:00:38 +01:00
parent 66dcd09f18
commit 9d59d7074a
7 changed files with 50 additions and 57 deletions

View File

@@ -1,7 +1,7 @@
import { API_ERROR_CODE, USDCPerpetualClient } from '../../../src';
import {
successUSDCEmptyResponseObject,
successUSDCResponseObject,
successEmptyResponseObjectV3,
successResponseObjectV3,
} from '../../response.util';
describe('Private Account Asset REST API Endpoints', () => {
@@ -62,13 +62,13 @@ describe('Private Account Asset REST API Endpoints', () => {
it('cancelActiveOrders()', async () => {
expect(await api.cancelActiveOrders(symbol, 'Order')).toMatchObject(
successUSDCEmptyResponseObject()
successEmptyResponseObjectV3()
);
});
it('setMarginMode()', async () => {
expect(await api.setMarginMode('REGULAR_MARGIN')).toMatchObject(
successUSDCResponseObject()
successResponseObjectV3()
);
});