fix: [AXIMST-785] fixed discard behavior #877
Annotations
7 errors and 6 warnings
tests:
src/course-unit/course-xblock/CourseXBlock.jsx#L55
'xblockCount' is missing in props validation
|
tests:
src/course-unit/hooks.jsx#L1
Expected a line break after this opening brace
|
tests:
src/course-unit/hooks.jsx#L1
'useState' is defined but never used
|
tests:
src/course-unit/hooks.jsx#L1
Expected a line break before this closing brace
|
tests:
src/course-unit/hooks.jsx#L3
'useLocation' is defined but never used
|
tests:
src/course-unit/sidebar/PublishControls.jsx#L13
`CourseAuthoring/course-unit/data/slice` import should occur before import of `./hooks`
|
tests
Process completed with exit code 2.
|
tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 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:
src/course-unit/course-xblock/CourseXBlock.jsx#L82
Unexpected console statement
|
tests:
src/course-unit/course-xblock/CourseXBlock.jsx#L83
Unexpected console statement
|
tests:
src/course-unit/course-xblock/CourseXBlock.jsx#L84
Unexpected console statement
|
tests:
src/course-unit/course-xblock/CourseXBlock.jsx#L93
Unexpected console statement
|
tests:
src/course-unit/hooks.jsx#L114
Unexpected console statement
|