update test

This commit is contained in:
Tiago Siebler
2022-11-07 15:25:17 +00:00
parent f1b41e7f2e
commit 5361bebfa4

View File

@@ -268,7 +268,8 @@ describe('Private Futures REST API POST Endpoints', () => {
} catch (e) { } catch (e) {
// expect(e).toBeNull(); // expect(e).toBeNull();
expect(e.body).toMatchObject({ expect(e.body).toMatchObject({
code: API_ERROR_CODE.FUTURES_ORDER_TPSL_NOT_FOUND, // code: API_ERROR_CODE.FUTURES_ORDER_TPSL_NOT_FOUND,
code: API_ERROR_CODE.FUTURES_POSITION_DIRECTION_EMPTY,
}); });
} }
}); });