Skip to content

created Task.test.js, 100% coverge for Task.js #159

created Task.test.js, 100% coverge for Task.js

created Task.test.js, 100% coverge for Task.js #159

Triggered via push December 8, 2023 08:53
Status Failure
Total duration 32s
Artifacts

ci-testing.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
build: packages/studywell-frontend/src/components/taskbar/Task.test.js#L9
Avoid destructuring queries from `render` result, use `screen.getAllByPlaceholderText` instead
build: packages/studywell-frontend/src/components/taskbar/Task.test.js#L15
Avoid direct Node access. Prefer using the methods from Testing Library
build: packages/studywell-frontend/src/components/taskbar/Task.test.js#L15
Avoid direct Node access. Prefer using the methods from Testing Library
build: packages/studywell-frontend/src/components/taskbar/Task.test.js#L33
Avoid direct Node access. Prefer using the methods from Testing Library
build: packages/studywell-frontend/src/components/taskbar/Task.test.js#L33
Avoid direct Node access. Prefer using the methods from Testing Library
build: packages/studywell-frontend/src/components/taskbar/testing.test.js#L85
Illegal usage of `fail`, prefer throwing an error, or the `done.fail` callback
build: packages/studywell-frontend/src/components/taskbar/testing.test.js#L87
Avoid calling `expect` conditionally`
build: packages/studywell-frontend/src/setupTests.js#L6
Import in body of module; reorder to top
build
Process completed with exit code 1.
build: packages/studywell-frontend/src/components/taskbar/TaskCard.js#L8
'showModal' is assigned a value but never used
build: packages/studywell-frontend/src/components/taskbar/TaskCard.js#L20
'handleShowModal' is defined but never used
build: packages/studywell-frontend/src/components/taskbar/testing.js#L55
Assign object to a variable before exporting as module default