Introduce getSubAccountAllApiKeys, update deleteSubApiKey
This commit is contained in:
@@ -273,6 +273,16 @@ describe('Private READ V5 REST API Endpoints', () => {
|
||||
...successResponseObjectV3(),
|
||||
});
|
||||
});
|
||||
|
||||
it('getSubAccountAllApiKeys()', async () => {
|
||||
expect(
|
||||
await api.getSubAccountAllApiKeys({subMemberId: 'fakeid'})
|
||||
).toMatchObject({
|
||||
// ...successResponseObjectV3(),
|
||||
// Expected, since sub account ID is fake
|
||||
retCode: API_ERROR_CODE.PARAMS_MISSING_OR_WRONG,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('Spot Leverage Token APIs', () => {
|
||||
|
||||
Reference in New Issue
Block a user