summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Tests/builtins
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-27 18:47:55 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-27 18:48:22 +0100
commitff307194f36054de8aeb72a8d1ca0a05fa54e2cd (patch)
tree1548db2e4ff74504b84ff3635a2cf3ac1cdf6c82 /Userland/Libraries/LibJS/Tests/builtins
parentb3723a88a6609a4866ea990503127a383ec335ed (diff)
downloadserenity-ff307194f36054de8aeb72a8d1ca0a05fa54e2cd.zip
LibJS: Implement Temporal.Now[@@toStringTag]
Diffstat (limited to 'Userland/Libraries/LibJS/Tests/builtins')
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Temporal/Now/Now.@@toStringTag.js3
1 files changed, 3 insertions, 0 deletions
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");
+});