v1.0.6: fix() fix type differences for spot vs futures candles. Add example for fetching last 1k futures candles

This commit is contained in:
Tiago Siebler
2023-04-04 11:58:09 +01:00
parent f367061665
commit f3d837bde6
11 changed files with 131 additions and 9 deletions

View File

@@ -274,8 +274,11 @@ describe('Private Spot REST API POST Endpoints', () => {
data: expect.any(String),
});
} catch (e) {
console.error('cancelPlanOrder(): ', e);
expect(e).toBeNull();
// console.error('cancelPlanOrder(): ', e);
// expect(e).toBeNull();
expect(e.body).toMatchObject({
code: API_ERROR_CODE.PLAN_ORDER_NOT_FOUND,
});
}
});
});