diff options
author | Linus Groh <mail@linusgroh.de> | 2021-07-27 18:47:55 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-07-27 18:48:22 +0100 |
commit | ff307194f36054de8aeb72a8d1ca0a05fa54e2cd (patch) | |
tree | 1548db2e4ff74504b84ff3635a2cf3ac1cdf6c82 /Userland/Libraries/LibJS/Tests/builtins/Temporal/Now | |
parent | b3723a88a6609a4866ea990503127a383ec335ed (diff) | |
download | serenity-ff307194f36054de8aeb72a8d1ca0a05fa54e2cd.zip |
LibJS: Implement Temporal.Now[@@toStringTag]
Diffstat (limited to 'Userland/Libraries/LibJS/Tests/builtins/Temporal/Now')
-rw-r--r-- | Userland/Libraries/LibJS/Tests/builtins/Temporal/Now/Now.@@toStringTag.js | 3 |
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"); +}); |