Skip to content

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

Open
@dannyprikaz

Description

@dannyprikaz

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/ as auth.integration.test.js
    • 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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions