Skip to content

Fixes test suite warnings #3436

Fixes test suite warnings

Fixes test suite warnings #3436

Triggered via push August 16, 2024 00:50
Status Failure
Total duration 1m 48s
Artifacts

test.yml

on: push
Test and lint code base
1m 40s
Test and lint code base
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
Test and lint code base: client/modules/IDE/components/EditorAccessibility.unit.test.jsx#L9
A space is required before closing bracket
Test and lint code base: client/modules/IDE/components/ErrorModal.unit.test.jsx#L11
Replace `<ErrorModal·type="forceAuthentication"·closeModal={jest.fn()}·service="google"·/>` with `⏎······<ErrorModal⏎········type="forceAuthentication"⏎········closeModal={jest.fn()}⏎········service="google"⏎······/>⏎····`
Test and lint code base: client/modules/IDE/components/ErrorModal.unit.test.jsx#L18
Replace `<ErrorModal·type="staleSession"·closeModal={jest.fn()}·service="google"·/>` with `⏎······<ErrorModal·type="staleSession"·closeModal={jest.fn()}·service="google"·/>⏎····`
Test and lint code base: client/modules/IDE/components/ErrorModal.unit.test.jsx#L24
Replace `<ErrorModal·type="staleProject"·closeModal={jest.fn()}·service="google"·/>` with `⏎······<ErrorModal·type="staleProject"·closeModal={jest.fn()}·service="google"·/>⏎····`
Test and lint code base: client/modules/IDE/components/FileNode.unit.test.jsx#L86
'mockConfirm' is never reassigned. Use 'const' instead
Test and lint code base: client/modules/IDE/components/FileNode.unit.test.jsx#L95
Replace `·expect(props.updateFileName).toHaveBeenCalledWith(props.id,·newName)` with `⏎········expect(props.updateFileName).toHaveBeenCalledWith(props.id,·newName)⏎······`
Test and lint code base
Process completed with exit code 1.
Test and lint code base
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test and lint code base
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/