Skip to content

Add exam mode

Add exam mode #9179

Triggered via pull request March 6, 2025 12:42
Status Failure
Total duration 1m 20s
Artifacts

ci.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint (tsc): src/commons/sagas/__tests__/BackendSaga.ts#L128
Property 'isOfficialCourse' is missing in type '{ courseName: string; courseShortName: string; viewable: true; enableGame: true; enableAchievements: true; enableSourcecast: true; enableStories: false; enableExamMode: false; sourceChapter: Chapter.SOURCE_1; sourceVariant: Variant.DEFAULT; moduleHelpText: string; assetsPrefix: string; }' but required in type 'CourseConfiguration'.
lint (tsc): src/commons/sagas/__tests__/BackendSaga.ts#L160
Property 'isOfficialCourse' is missing in type '{ courseName: string; courseShortName: string; viewable: true; enableGame: true; enableAchievements: true; enableSourcecast: true; enableStories: false; enableExamMode: false; sourceChapter: Chapter.SOURCE_4; sourceVariant: Variant.DEFAULT; moduleHelpText: string; assetsPrefix: string; }' but required in type 'CourseConfiguration'.
lint (tsc): src/commons/sagas/__tests__/BackendSaga.ts#L927
Property 'isOfficialCourse' is missing in type '{ courseName: string; courseShortName: string; viewable: true; enableGame: false; enableAchievements: false; enableSourcecast: false; enableStories: false; enableExamMode: false; sourceChapter: Chapter.SOURCE_4; sourceVariant: Variant.DEFAULT; moduleHelpText: string; assetsPrefix: string; }' but required in type 'CourseConfiguration'.
lint (tsc)
Process completed with exit code 2.
lint (build)
The job was canceled because "tsc" failed.
lint (build)
The operation was canceled.
lint (test-coveralls)
The job was canceled because "tsc" failed.
lint (test-coveralls)
The operation was canceled.
lint (test)
The job was canceled because "tsc" failed.
lint (test)
The operation was canceled.