mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-23 02:55:15 +00:00
LibJS: Removed a fixme in a test of BigInt.prototype.valueOf
This commit is contained in:
parent
4d81d868c7
commit
5438879277
|
@ -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|", () => {
|
||||
|
|
Loading…
Reference in a new issue