From ff307194f36054de8aeb72a8d1ca0a05fa54e2cd Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 27 Jul 2021 18:47:55 +0100 Subject: LibJS: Implement Temporal.Now[@@toStringTag] --- .../Libraries/LibJS/Tests/builtins/Temporal/Now/Now.@@toStringTag.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Userland/Libraries/LibJS/Tests/builtins/Temporal/Now/Now.@@toStringTag.js (limited to 'Userland/Libraries/LibJS/Tests/builtins/Temporal/Now') diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Now/Now.@@toStringTag.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Now/Now.@@toStringTag.js new file mode 100644 index 0000000000..c9f5e49dc0 --- /dev/null +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Now/Now.@@toStringTag.js @@ -0,0 +1,3 @@ +test("basic functionality", () => { + expect(Temporal.Now[Symbol.toStringTag]).toBe("Temporal.Now"); +}); -- cgit v1.2.3