Skip to content

Introduce tests & GitHub Actions #7

Introduce tests & GitHub Actions

Introduce tests & GitHub Actions #7

Triggered via pull request August 9, 2024 22:40
Status Failure
Total duration 37s
Artifacts

ci.yml

on: pull_request
Test Backend
10s
Test Backend
Test Frontend
28s
Test Frontend
Fit to window
Zoom out
Zoom in

Annotations

13 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#L3
Expected an assignment or function call and instead saw an expression
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L3
'testing' is not defined
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L3
'library' is not defined
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L3
'access' is not defined
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L4
Import in body of module; reorder to top
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L23
Avoid using container methods. Prefer using the methods from Testing Library, such as "getByRole()"
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L23
Avoid direct Node access. Prefer using the methods from Testing Library
Test Frontend: frontend/src/__tests__/MainDashboard.test.js#L23
Avoid direct Node access. Prefer using the methods from Testing Library
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.