Skip to content

Commit

Permalink
migrate NumberUtilsTest to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Feb 8, 2024
1 parent 02f0613 commit 09aadfd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe('libs/NumberUtils', () => {
const id = NumberUtils.rand64();
expect(typeof id).toBe('string');
// eslint-disable-next-line no-undef
expect(BigInt(id)).toBeLessThanOrEqual(BigInt(9223372036854775807));
expect(BigInt(id)).toBeLessThanOrEqual(BigInt(9223372036854775807n));
// eslint-disable-next-line no-undef
expect(BigInt(id)).toBeGreaterThanOrEqual(0);
});
Expand Down

0 comments on commit 09aadfd

Please sign in to comment.