VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

Create New Unit Tests for ./backend/routers/auth.router.js

Open dannyprikaz opened this issue 9 months ago • 0 comments

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.js exists with integration tests
      • [x] move the integration tests to ./backend/test/ as auth.integration.test.js
    • [x] Create tests for every route described in ./backend/routers/auth.router.js, isolating their functionality from all dependencies
  • 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

dannyprikaz avatar Mar 25 '25 03:03 dannyprikaz