Open
Description
Overview
Create unit tests for each route on ./backend/routers/auth.router.js
and if necessary, move existing tests to ./backend/test/
to function as integration tests.
Action Items
- Review
./backend/routers/auth.router.js
- IF
.backend/routers/users.router.test.js
exists with integration tests- move the integration tests to
./backend/test/
asauth.integration.test.js
- move the integration tests to
- Create tests for every route described in
./backend/routers/auth.router.js
, isolating their functionality from all dependencies
- IF
- If you run into any questions, add a comment to the issue and tag "@dannyprikaz"
Resources/Instructions
https://jestjs.io/docs/getting-started
- This issue is part of the epic: Epic: Create true unit tests for backend routers #1880
Metadata
Metadata
Assignees
Type
Projects
Status
In progress