Skip to content

Commit

Permalink
toBeCloseTo takes _digits of precision_ waaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Nov 22, 2024
1 parent e4c8b45 commit 76f6d6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/fs_metadata.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ describe("Filesystem Metadata", () => {
expect(omit(ea, "available", "used")).toEqual(
omit(expected, "available", "used"),
);
expect(ea.available).toBeCloseTo(expected.available, 1e5);
expect(ea.used).toBeCloseTo(expected.used, 1e5);
expect(ea.available).toBeCloseTo(expected.available, 5);
expect(ea.used).toBeCloseTo(expected.used, 5);
}
}
});
Expand Down

0 comments on commit 76f6d6f

Please sign in to comment.