Skip to content

Lk/unit test

Lk/unit test #1740

Triggered via pull request February 5, 2024 20:01
Status Failure
Total duration 55s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
test: src/components/AppContainer/index.test.jsx#L4
`hooks/app` import should occur before import of `.`
test: src/components/AppContainer/index.test.jsx#L44
Trailing spaces not allowed
test: src/components/Assessment/EditableAssessment/AssessmentActions.test.jsx#L5
`hooks/actions` import should occur before import of `./AssessmentActions`
test: src/components/Assessment/EditableAssessment/AssessmentActions.test.jsx#L73
Newline required at end of file but not found
test: src/components/Assessment/EditableAssessment/OverallFeedback/index.test.jsx#L3
`.` import should occur after import of `constants/index`
test: src/components/Assessment/EditableAssessment/index.test.jsx#L5
`hooks/assessment` import should occur before import of `.`
test: src/components/Assessment/EditableAssessment/index.test.jsx#L38
Newline required at end of file but not found
test: src/components/Assessment/ReadonlyAssessment/AssessmentCriteria.test.jsx#L5
`hooks/assessment` import should occur before import of `./AssessmentCriteria`
test
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/.
test: src/components/Prompt/index.jsx#L46
Dangerous property 'dangerouslySetInnerHTML' found
test: src/components/TextResponse/index.jsx#L23
Dangerous property 'dangerouslySetInnerHTML' found
test: src/components/TextResponse/index.jsx#L25
Dangerous property 'dangerouslySetInnerHTML' found
test: src/data/services/lms/hooks/utils.js#L12
Unexpected console statement
test: src/hooks/testHooks.js#L72
Unexpected console statement
test: src/hooks/testHooks.js#L74
Unexpected console statement
test: src/utils/debug.js#L3
Unexpected console statement
test: src/views/SubmissionView/TextResponseEditor/LaTexPreview.jsx#L13
Dangerous property 'dangerouslySetInnerHTML' found