mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
LibJS: Removed a fixme in a test of BigInt.prototype.valueOf
This commit is contained in:
parent
4d81d868c7
commit
5438879277
Notes:
sideshowbarker
2024-07-18 20:30:32 +09:00
Author: https://github.com/tuqqu Commit: https://github.com/SerenityOS/serenity/commit/54388792774 Pull-request: https://github.com/SerenityOS/serenity/pull/6244 Reviewed-by: https://github.com/linusg ✅
@ -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 New Issue
Block a user