diff --git a/src/validate.ts b/src/validate.ts index 89fd669..60c1b65 100644 --- a/src/validate.ts +++ b/src/validate.ts @@ -23,6 +23,7 @@ const allowedModules = [ "CourseMaterials", "Plagiarism", "RainbowGrades", + "Calendar", "System", "Developer", "API", diff --git a/test/validate.spec.ts b/test/validate.spec.ts index ef0c1c5..fd6984b 100644 --- a/test/validate.spec.ts +++ b/test/validate.spec.ts @@ -117,7 +117,7 @@ describe("validate", () => { ) ).to.throw(`Errors detected in title: - Invalid type, expected one of Bugfix, Feature, Refactor, Testing, Documentation, VPAT, UI/UX, Dependency, DevDependency. Got Fake. - - Invalid module, expected one of Submission, Autograding, Forum, Notifications, TAGrading, InstructorUI, SubminiPolls, HelpQueue, CourseMaterials, Plagiarism, RainbowGrades, System, Developer, API. Got Error. + - Invalid module, expected one of Submission, Autograding, Forum, Notifications, TAGrading, InstructorUI, SubminiPolls, HelpQueue, CourseMaterials, Plagiarism, RainbowGrades, Calendar, System, Developer, API. Got Error. - Too long a message, expected at most 40 characters, got 56 characters.`); }); });