chore(): skip sensitive tests

This commit is contained in:
tiagosiebler
2024-06-14 14:43:10 +01:00
parent 5e3b463e94
commit e248c39dc3
2 changed files with 1 additions and 16 deletions

View File

@@ -84,13 +84,6 @@ describe('Private Spot REST API GET Endpoints', () => {
); );
}); });
it('getLeveragedTokenPRHistory()', async () => {
expect(await api.getLeveragedTokenPRHistory()).toMatchObject({
...successResponseObjectV3(),
// retCode: API_ERROR_CODE.ORDER_NOT_FOUND_LEVERAGED_TOKEN,
});
});
it('getCrossMarginBorrowingInfo()', async () => { it('getCrossMarginBorrowingInfo()', async () => {
expect(await api.getCrossMarginBorrowingInfo()).toMatchObject( expect(await api.getCrossMarginBorrowingInfo()).toMatchObject(
successResponseObjectV3(), successResponseObjectV3(),

View File

@@ -276,7 +276,7 @@ describe('Private READ V5 REST API Endpoints', () => {
it('getSubAccountAllApiKeys()', async () => { it('getSubAccountAllApiKeys()', async () => {
expect( expect(
await api.getSubAccountAllApiKeys({subMemberId: 'fakeid'}) await api.getSubAccountAllApiKeys({ subMemberId: 'fakeid' }),
).toMatchObject({ ).toMatchObject({
// ...successResponseObjectV3(), // ...successResponseObjectV3(),
// Expected, since sub account ID is fake // Expected, since sub account ID is fake
@@ -284,12 +284,4 @@ describe('Private READ V5 REST API Endpoints', () => {
}); });
}); });
}); });
describe('Spot Leverage Token APIs', () => {
it('getSpotLeveragedTokenOrderHistory()', async () => {
expect(await api.getSpotLeveragedTokenOrderHistory()).toMatchObject({
...successResponseObjectV3(),
});
});
});
}); });