Skip to content

DRAFT: Course unit - New unit btn #418

DRAFT: Course unit - New unit btn

DRAFT: Course unit - New unit btn #418

Triggered via pull request January 9, 2024 10:59
Status Failure
Total duration 1m 32s
Artifacts

validate.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
tests: src/course-unit/course-sequence/Sequence.jsx#L20
'STORE' is assigned a value but never used
tests: src/course-unit/course-sequence/hooks.js#L10
'getSequenceStatus' is defined but never used
tests: src/course-unit/course-sequence/hooks.js#L11
Missing trailing comma
tests: src/course-unit/course-sequence/hooks.js#L39
Unsafe arithmetic operation on optional chaining. It can result in NaN
tests: src/course-unit/course-sequence/sequence-navigation/SequenceNavigation.jsx#L19
'getCourseSectionVertical' is defined but never used
tests: src/course-unit/course-sequence/sequence-navigation/SequenceNavigation.jsx#L28
'MODELS' is assigned a value but never used
tests: src/course-unit/course-sequence/sequence-navigation/SequenceNavigationDropdown.jsx#L9
'handleClick' is missing in props validation
tests: src/course-unit/course-sequence/sequence-navigation/SequenceNavigationTabs.jsx#L11
`react-redux` import should occur before import of `../hooks`