public v3 spot tests

This commit is contained in:
tiagosiebler
2022-09-10 12:39:08 +01:00
parent c287495052
commit f7b251c26d
4 changed files with 80 additions and 5 deletions

View File

@@ -16,14 +16,14 @@ export function successResponseObject(successMsg: string | null = 'OK') {
};
}
export function successUSDCResponseObject() {
export function successResponseObjectV3() {
return {
result: expect.any(Object),
...successUSDCEmptyResponseObject(),
...successEmptyResponseObjectV3(),
};
}
export function successUSDCEmptyResponseObject() {
export function successEmptyResponseObjectV3() {
return {
retCode: API_ERROR_CODE.SUCCESS,
retMsg: expect.stringMatching(