mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
LibJS: Removed a fixme in a test of BigInt.prototype.valueOf
This commit is contained in:
parent
4d81d868c7
commit
5438879277
1 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
||||||
test("basic functionality", () => {
|
test("basic functionality", () => {
|
||||||
expect(BigInt.prototype.valueOf).toHaveLength(0);
|
expect(BigInt.prototype.valueOf).toHaveLength(0);
|
||||||
expect(typeof BigInt(123).valueOf()).toBe("bigint");
|
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|", () => {
|
test("calling with non-BigInt |this|", () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue