LibJS/Tests: Enable Number.isInteger() test that now passes

This commit is contained in:
Linus Groh 2022-01-24 20:38:29 +00:00
parent 73a43e7cba
commit 140f1d9e55

View file

@ -9,8 +9,7 @@ test("basic functionality", () => {
expect(Number.isInteger(5 + 1 / 10000000000000000)).toBeTrue();
expect(Number.isInteger(+2147483647 + 1)).toBeTrue();
expect(Number.isInteger(-2147483648 - 1)).toBeTrue();
// FIXME: This should return true
// expect(Number.isInteger(99999999999999999999999999999999999)).toBeTrue();
expect(Number.isInteger(99999999999999999999999999999999999)).toBeTrue();
expect(Number.isInteger(5 + 1 / 1000000000000000)).toBeFalse();
expect(Number.isInteger(1.23)).toBeFalse();