VRMS
VRMS copied to clipboard
Create New Unit Tests for ./backend/routers/auth.router.js
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
- [x] Review
./backend/routers/auth.router.js-
IF
.backend/routers/users.router.test.jsexists with integration tests- [x] move the integration tests to
./backend/test/asauth.integration.test.js
- [x] move the integration tests to
- [x] 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: https://github.com/hackforla/VRMS/issues/1880