Introduce tests & GitHub Actions #6
ci.yml
on: pull_request
Test Backend
7s
Test Frontend
26s
Annotations
20 errors and 4 warnings
Test Backend:
backend/__tests__/parametersController.test.js#L29
'mockSchema' is assigned a value but never used
|
Test Backend:
backend/__tests__/parametersController.test.js#L38
'beforeEach' is not defined
|
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:
backend/database/db.js#L4
'process' is not defined
|
Test Backend:
backend/index.js#L12
'process' is not defined
|
Test Backend:
backend/middlewares/auth.js#L19
'process' is not defined
|
Test Backend:
backend/middlewares/auth.js#L22
'error' is defined but never used
|
Test Backend:
backend/scripts/start.js#L6
'process' is not defined
|
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.
|