Skip to content

Introduce tests & GitHub Actions (#18) #9

Introduce tests & GitHub Actions (#18)

Introduce tests & GitHub Actions (#18) #9

Triggered via push August 9, 2024 22:57
Status Failure
Total duration 38s
Artifacts

ci.yml

on: push
Test Backend
9s
Test Backend
Test Frontend
25s
Test Frontend
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
Test Backend: backend/controllers/parametersController.js#L7
'__dirname' is not defined
Test Backend: backend/controllers/parametersController.js#L23
Do not access Object.prototype method 'hasOwnProperty' from target object
Test Backend
Process completed with exit code 1.
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L22
Avoid using container methods. Prefer using the methods from Testing Library, such as "getByRole()"
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L22
Avoid direct Node access. Prefer using the methods from Testing Library
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L22
Avoid direct Node access. Prefer using the methods from Testing Library
Test Frontend
Process completed with exit code 1.
Test Backend
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Backend
No files were found with the provided path: backend/jest-results.xml. No artifacts will be uploaded.
Test Frontend
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Frontend
No files were found with the provided path: frontend/jest-results.xml. No artifacts will be uploaded.