generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
complexity: mediumfeature: InfrastructureSecrets, Prod and Dev setup, etc.Secrets, Prod and Dev setup, etc.role: Back Endsize: 0.5ptCan be done in 2-3 hours or lessCan be done in 2-3 hours or less
Milestone
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
Labels
complexity: mediumfeature: InfrastructureSecrets, Prod and Dev setup, etc.Secrets, Prod and Dev setup, etc.role: Back Endsize: 0.5ptCan be done in 2-3 hours or lessCan be done in 2-3 hours or less
Type
Projects
Status
In progress