Skip to content

Commit

Permalink
Merge pull request #36116 from JKobrynski/migrateNumberUtilsTestToTyp…
Browse files Browse the repository at this point in the history
…eScript

[No QA] [TS migration] Migrate 'NumberUtilsTest.js' test to TypeScript
  • Loading branch information
neil-marcellini authored Feb 20, 2024
2 parents e485645 + 09aadfd commit 6474d29
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 6474d29

Please sign in to comment.