Skip to content

Add exam mode

Add exam mode #9207

Triggered via pull request March 13, 2025 15:21
Status Failure
Total duration 1m 20s
Artifacts

ci.yml

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

Annotations

15 errors
lint (eslint): src/commons/sagas/RequestsSaga.ts#L1405
Prefer using the primitive `boolean` as a type name, rather than the upper-cased `Boolean`
lint (eslint)
Process completed with exit code 1.
lint (test-coveralls)
The job was canceled because "eslint" failed.
lint (test-coveralls)
The operation was canceled.
lint (format:ci)
The job was canceled because "eslint" failed.
lint (format:ci)
The operation was canceled.
lint (tsc)
The job was canceled because "eslint" failed.
lint (tsc): src/commons/sagas/__tests__/BackendSaga.ts#L128
Property 'resumeCode' 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; isOfficialCourse: false; }' but required in type 'CourseConfiguration'.
lint (tsc): src/commons/sagas/__tests__/BackendSaga.ts#L161
Property 'resumeCode' 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; isOfficialCourse: false; }' but required in type 'CourseConfiguration'.
lint (tsc): src/commons/sagas/__tests__/BackendSaga.ts#L929
Property 'resumeCode' 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; isOfficialCourse: false; }' but required in type 'CourseConfiguration'.
lint (tsc)
The operation was canceled.
lint (test)
The job was canceled because "eslint" failed.
lint (test)
The operation was canceled.
lint (build)
The job was canceled because "eslint" failed.
lint (build)
The operation was canceled.