Skip to content

Commit

Permalink
✅ server: relax range in flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Jan 1, 2025
1 parent 846642a commit 604725f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/test/api/activity.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ describe("authenticated", () => {

expect(response.status).toBe(200);
await expect(response.json()).resolves.toMatchObject([
{ amount: expect.closeTo(419, 0.1), currency: "USDC", type: "repay", usdAmount: expect.closeTo(419, 0.1) }, // eslint-disable-line @typescript-eslint/no-unsafe-assignment
{ amount: expect.closeTo(419, 0.05), currency: "USDC", type: "repay", usdAmount: expect.closeTo(419, 0.05) }, // 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 604725f

Please sign in to comment.