Introduce tests & GitHub Actions #7
ci.yml
on: pull_request
Test Backend
10s
Test Frontend
28s
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
'no' is not defined
|
Test Frontend:
frontend/src/__tests__/MainDashboard.test.js#L3
'node' 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.
|