X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/8ae1056e7a8e0d348781ed6b5e8c3210eebea9df..0b2e1cbf082ff80ae6fd42d028e08d6382a4622b:/symbol.test.js?ds=sidebyside
diff --git a/symbol.test.js b/symbol.test.js
index 38d7425..22bc58e 100644
--- a/symbol.test.js
+++ b/symbol.test.js
@@ -1,11 +1,14 @@
-// ♓🌟 Piscēs ∷ symbol.test.js
-// ====================================================================
-//
-// Copyright © 2023 Lady [@ Lady’s Computer].
-//
-// This Source Code Form is subject to the terms of the Mozilla Public
-// License, v. 2.0. If a copy of the MPL was not distributed with this
-// file, You can obtain one at .
+// SPDX-FileCopyrightText: 2023, 2025 Lady
+// SPDX-License-Identifier: MPL-2.0
+/**
+ * ⁌ ♓🧩 Piscēs ∷ symbol.test.js
+ *
+ * Copyright © 2023, 2025 Lady [@ Ladys Computer].
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at .
+ */
import {
assertStrictEquals,
@@ -39,6 +42,12 @@ describe("getSymbolDescription", () => {
assertThrows(() => new getSymbolDescription(Symbol()));
});
+ describe(".length", () => {
+ it("[[Get]] returns the correct length", () => {
+ assertStrictEquals(getSymbolDescription.length, 1);
+ });
+ });
+
describe(".name", () => {
it("[[Get]] returns the correct name", () => {
assertStrictEquals(
@@ -69,6 +78,12 @@ describe("symbolToString", () => {
assertThrows(() => new symbolToString(Symbol()));
});
+ describe(".length", () => {
+ it("[[Get]] returns the correct length", () => {
+ assertStrictEquals(symbolToString.length, 1);
+ });
+ });
+
describe(".name", () => {
it("[[Get]] returns the correct name", () => {
assertStrictEquals(
@@ -110,6 +125,12 @@ describe("symbolValue", () => {
assertThrows(() => new symbolValue(Symbol()));
});
+ describe(".length", () => {
+ it("[[Get]] returns the correct length", () => {
+ assertStrictEquals(symbolValue.length, 1);
+ });
+ });
+
describe(".name", () => {
it("[[Get]] returns the correct name", () => {
assertStrictEquals(