]> Lady’s Gitweb - Etiquette/blobdiff - model.test.js
Give Tag constructors a superclass
[Etiquette] / model.test.js
index 74f73daf349f5c068405994f03729d4e36e5fe57..a92671c52d2a4a033ab575172ff6abe7e00f2117 100644 (file)
@@ -140,12 +140,6 @@ describe("TagSystem", () => {
       });
     });
 
-    describe(".For", () => {
-      it("[[Has]] is not present", () => {
-        assertFalse("For" in Tag);
-      });
-    });
-
     describe(".all", () => {
       it("[[Call]] yields all the persisted tags", () => {
         const tags = new Set(function* () {
@@ -170,6 +164,12 @@ describe("TagSystem", () => {
       });
     });
 
+    describe(".constructor", () => {
+      it("[[Get]] is `Function`", () => {
+        assertStrictEquals(Tag.constructor, Function);
+      });
+    });
+
     describe(".fromIRI", () => {
       it("[[Call]] returns the persisted tag with the given I·R·I", () => {
         const tag = new Tag();
@@ -262,12 +262,6 @@ describe("TagSystem", () => {
       });
     });
 
-    describe(".getSystem", () => {
-      it("[[Has]] is not present", () => {
-        assertFalse("getSystem" in Tag);
-      });
-    });
-
     describe(".identifiers", () => {
       it("[[Call]] yields all the persisted identifiers", () => {
         const tags = new Set(function* () {
This page took 0.021009 seconds and 4 git commands to generate.