chore(): expect either of errors
This commit is contained in:
@@ -185,8 +185,8 @@ describe('Private Unified Margin REST API POST Endpoints', () => {
|
|||||||
transfer_id: 'testtransfer',
|
transfer_id: 'testtransfer',
|
||||||
}),
|
}),
|
||||||
).toMatchObject({
|
).toMatchObject({
|
||||||
ret_code: API_ERROR_CODE.INVALID_API_KEY_OR_PERMISSIONS,
|
// seems to fluctuate between these two errors
|
||||||
ret_msg: 'invalid api_key',
|
ret_code: /^10003|10001$/,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user