chore(): updated test enums

This commit is contained in:
JJ-Cro
2025-03-27 11:18:35 +01:00
parent 49ddc43bf0
commit bb33ca3dc7
2 changed files with 8 additions and 3 deletions

View File

@@ -35,7 +35,9 @@ describe('Bitget Private REST API Write Endpoints', () => {
});
expect(res).toMatchObject(sucessEmptyResponseObject());
} catch (e) {
expect(e).toMatchObject(errorResponseObjectV3('43012')); // not enough balance
expect(e).toMatchObject(
errorResponseObjectV3(API_ERROR_CODE.INSUFFICIENT_BALANCE),
); // not enough balance
}
});
@@ -114,7 +116,7 @@ describe('Bitget Private REST API Write Endpoints', () => {
}
});
it('spotWithdraw()', async () => {
it.skip('spotWithdraw()', async () => {
try {
const res = await api.spotWithdraw({
coin: 'BTC',