1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:37:43 +00:00

LibJS: Uncomment the tests that pass now

This commit is contained in:
Egor Ananyin 2020-12-29 13:44:52 +03:00 committed by Andreas Kling
parent 92c6ae57fc
commit 1dbd264239
8 changed files with 19 additions and 22 deletions

View file

@ -3,7 +3,6 @@ test("basic functionality", () => {
expect(Math.log(-1)).toBe(NaN);
expect(Math.log(0)).toBe(-Infinity);
// FIXME: not precise enough
//expect(Math.log(1)).toBe(0);
expect(Math.log(1)).toBe(0);
expect(Math.log(10)).toBeCloseTo(2.302585092994046);
});