fix(#240): fix sign error on parallel requests due to pointer mutation

This commit is contained in:
tiagosiebler
2023-03-21 12:17:48 +00:00
parent f59438d1ad
commit 802c02a553
3 changed files with 28 additions and 15 deletions

View File

@@ -45,9 +45,10 @@ describe('Private Linear REST API GET Endpoints', () => {
});
it('getActiveOrderList()', async () => {
expect(await api.getActiveOrderList({ symbol: symbol })).toMatchObject(
successResponseObject()
);
expect(await api.getActiveOrderList({ symbol: symbol })).toMatchObject({
...successResponseObject(),
// ret_msg: 'ok',
});
});
it('queryActiveOrder()', async () => {