Skip to content

Feat/unit test

Feat/unit test #64

Triggered via pull request June 25, 2024 04:31
Status Failure
Total duration 26s
Artifacts

main.yml

on: pull_request
Lint and Test
18s
Lint and Test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
Lint and Test: controllers/flightSeat.js#L4
'copy' is assigned a value but never used
Lint and Test: prisma/seeder/seeder.js#L229
'flights' is assigned a value but never used
Lint and Test: test/unitTest/controller/auth.test.js#L106
'oauth2Client' is assigned a value but never used
Lint and Test: test/unitTest/controller/flight.test.js#L137
'inputFlightDummyData' is assigned a value but never used
Lint and Test: test/unitTest/controller/flight.test.js#L151
'flightDummyData' is assigned a value but never used
Lint and Test: test/unitTest/controller/notifications.test.js#L43
'res' is assigned a value but never used
Lint and Test: test/unitTest/controller/notifications.test.js#L43
'next' is assigned a value but never used
Lint and Test: test/unitTest/controller/user.test.js#L1
'createHttpError' is assigned a value but never used
Lint and Test
Process completed with exit code 1.
Lint and Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint and Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/