Skip to content

Commit

Permalink
Add Calendar Module (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Reed <[email protected]>
  • Loading branch information
cjreed121 and cjreed121 authored Aug 16, 2021
1 parent 9d76b51 commit 4184732
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const allowedModules = [
"CourseMaterials",
"Plagiarism",
"RainbowGrades",
"Calendar",
"System",
"Developer",
"API",
Expand Down
2 changes: 1 addition & 1 deletion test/validate.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
});
});
Expand Down

0 comments on commit 4184732

Please sign in to comment.