});
});
+ 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* () {
});
it("[[Call]] throws when this is not a tag which can be placed in canon", () => {
+ const canon = new Tag("CanonTag");
+ canon.persist();
assertThrows(() => {
- new Tag().addInCanonTag();
+ new Tag().addInCanonTag(canon);
});
});
});
it("[[Call]] throws when this is not a conceptual tag", () => {
+ const involved = new Tag();
+ involved.persist();
assertThrows(() => {
- new Tag().addInvolvesTag();
+ new Tag().addInvolvesTag(involved);
});
});