Skip to content

Commit

Permalink
✅ server: decrease repay test expect precision
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Oct 25, 2024
1 parent d4dfbe5 commit a6410fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/test/api/activity.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ describe("authenticated", () => {

expect(response.status).toBe(200);
await expect(response.json()).resolves.toMatchObject([
{ amount: expect.closeTo(433, 1), currency: "USDC", type: "repay", usdAmount: expect.closeTo(433, 1) }, // eslint-disable-line @typescript-eslint/no-unsafe-assignment
{ amount: expect.closeTo(81, 1), currency: "USDC", type: "repay", usdAmount: expect.closeTo(81, 1) }, // eslint-disable-line @typescript-eslint/no-unsafe-assignment
{ amount: expect.closeTo(433, 0.5), currency: "USDC", type: "repay", usdAmount: expect.closeTo(433, 0.5) }, // eslint-disable-line @typescript-eslint/no-unsafe-assignment
{ amount: expect.closeTo(81, 0.5), currency: "USDC", type: "repay", usdAmount: expect.closeTo(81, 0.5) }, // eslint-disable-line @typescript-eslint/no-unsafe-assignment
]);
});

Expand Down

0 comments on commit a6410fc

Please sign in to comment.