Skip to content

feat: refactor non instruction components #951

feat: refactor non instruction components

feat: refactor non instruction components #951

Triggered via push February 1, 2024 19:05
Status Failure
Total duration 51s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
tests: src/core/OuterExamTimer.jsx#L29
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
tests: src/data/store.js#L1
Too many blank lines at the beginning of file. Max of 0 allowed
tests: src/data/thunks.js#L476
Missing trailing comma
tests: src/data/thunks.js#L477
Unexpected newline before ')'
tests: src/exam/Exam.jsx#L80
React Hook useEffect has missing dependencies: 'canAccessProctoredExams', 'dispatch', 'examType', and 'proctoredExamTypes'. Either include them or remove the dependency array. If 'setHasProctoredExamAccess' needs the current value of 'canAccessProctoredExams', you can also switch to useReducer instead of useState and read 'canAccessProctoredExams' in the reducer
tests: src/exam/ExamWrapper.jsx#L42
React Hook useEffect has missing dependencies: 'isLoading', 'loadInitialData', and 'sequence.isTimeLimited'. Either include them or remove the dependency array
tests: src/instructions/Instructions.test.jsx#L15
Parse errors in imported module '../core/ExamStateProvider': Unexpected token (1:1) (1:1)
tests: src/instructions/Instructions.test.jsx#L15
Parse errors in imported module '../core/ExamStateProvider': Unexpected token (1:1) (1:1)
tests: src/instructions/proctored_exam/ProctoredExamInstructions.test.jsx#L8
Parse errors in imported module '../../core/ExamStateProvider': Unexpected token (1:1) (1:1)
tests: src/instructions/proctored_exam/ProctoredExamInstructions.test.jsx#L8
Parse errors in imported module '../../core/ExamStateProvider': Unexpected token (1:1) (1:1)
tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/