X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/8ae1056e7a8e0d348781ed6b5e8c3210eebea9df..refs/heads/current:/symbol.test.js?ds=sidebyside diff --git a/symbol.test.js b/symbol.test.js index 38d7425..03abffc 100644 --- a/symbol.test.js +++ b/symbol.test.js @@ -39,6 +39,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 +75,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 +122,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(