Skip to content

Commit 4184732

Browse files
authored
Add Calendar Module (#6)
Co-authored-by: Chris Reed <[email protected]>
1 parent 9d76b51 commit 4184732

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/validate.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const allowedModules = [
2323
"CourseMaterials",
2424
"Plagiarism",
2525
"RainbowGrades",
26+
"Calendar",
2627
"System",
2728
"Developer",
2829
"API",

test/validate.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe("validate", () => {
117117
)
118118
).to.throw(`Errors detected in title:
119119
- Invalid type, expected one of Bugfix, Feature, Refactor, Testing, Documentation, VPAT, UI/UX, Dependency, DevDependency. Got Fake.
120-
- Invalid module, expected one of Submission, Autograding, Forum, Notifications, TAGrading, InstructorUI, SubminiPolls, HelpQueue, CourseMaterials, Plagiarism, RainbowGrades, System, Developer, API. Got Error.
120+
- Invalid module, expected one of Submission, Autograding, Forum, Notifications, TAGrading, InstructorUI, SubminiPolls, HelpQueue, CourseMaterials, Plagiarism, RainbowGrades, Calendar, System, Developer, API. Got Error.
121121
- Too long a message, expected at most 40 characters, got 56 characters.`);
122122
});
123123
});

0 commit comments

Comments
 (0)