From 54388792774acb6bf7be53f09cf679727543d3a7 Mon Sep 17 00:00:00 2001 From: tuqqu Date: Sun, 11 Apr 2021 20:25:42 +0300 Subject: [PATCH] LibJS: Removed a fixme in a test of BigInt.prototype.valueOf --- .../LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js b/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js index d30a81f824..f8404dcc07 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js +++ b/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js @@ -1,8 +1,7 @@ test("basic functionality", () => { expect(BigInt.prototype.valueOf).toHaveLength(0); expect(typeof BigInt(123).valueOf()).toBe("bigint"); - // FIXME: Uncomment once we support Object() with argument - // expect(typeof Object(123n).valueOf()).toBe("bigint"); + expect(typeof Object(123n).valueOf()).toBe("bigint"); }); test("calling with non-BigInt |this|", () => {