Skip to content

feat: refactor non instruction components #950

feat: refactor non instruction components

feat: refactor non instruction components #950

Triggered via pull request February 1, 2024 17:57
Status Failure
Total duration 48s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 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/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/timer/ExamTimerBlock.jsx#L57
React Hook useEffect has a missing dependency: 'expireExamAttempt'. Either include it or remove the dependency array
tests
Process completed with exit code 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/