Introduce tests & GitHub Actions #5
ci.yml
on: pull_request
Test Backend
11s
Test Frontend
26s
Annotations
15 errors and 4 warnings
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:
frontend/src/__tests__/MainDashboard.test.js#L30
Expect must have a corresponding matcher call
|
Test Frontend
Process completed with exit code 1.
|
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/__tests__/userController.test.js#L8
'jest' is not defined
|
Test Backend:
backend/__tests__/userController.test.js#L9
'jest' is not defined
|
Test Backend:
backend/__tests__/userController.test.js#L18
'describe' is not defined
|
Test Backend:
backend/__tests__/userController.test.js#L19
'describe' is not defined
|
Test Backend:
backend/__tests__/userController.test.js#L20
'it' is not defined
|
Test Backend:
backend/__tests__/userController.test.js#L29
'expect' is not defined
|
Test Backend:
backend/__tests__/userController.test.js#L30
'expect' is not defined
|
Test Backend:
backend/__tests__/userController.test.js#L33
'it' is not defined
|
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.
|
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.
|