LibJS: Removed a fixme in a test of BigInt.prototype.valueOf

This commit is contained in:
tuqqu 2021-04-11 20:25:42 +03:00 committed by Andreas Kling
parent 4d81d868c7
commit 5438879277

View file

@ -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|", () => {