Skip to content

Commit

Permalink
chore(): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Jul 24, 2024
1 parent 323206f commit dabd53b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/futures-usdm/private.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,15 @@ describe('Private Futures USDM REST API Endpoints', () => {
templateOrder,
templateOrder,
];
expect(api.submitMultipleOrders(orders)).resolves.toMatchObject([

expect(await api.submitMultipleOrders(orders)).toMatchObject([
{
code: -4061,
msg: "Order's position side does not match user's setting.",
code: -4408,
msg: expect.stringContaining('Binance Credits Trading Mode'),
},
{
code: -4061,
msg: "Order's position side does not match user's setting.",
code: -4408,
msg: expect.stringContaining('Binance Credits Trading Mode'),
},
]);
});
Expand Down

0 comments on commit dabd53b

Please sign in to comment.