Skip to content

Fix failing backend test suites for Auth Routes and User Model #278

@parinaB

Description

@parinaB

Description

Two backend test files are currently failing. These were discovered while setting up the frontend test suite in #275 and are pre-existing failures unrelated to that PR.

Failing files:

  • spec/auth.routes.spec.cjs — Auth Routes
  • spec/user.model.spec.cjs — User Model

Steps to Reproduce

  1. Clone the repo
  2. Navigate to the backend directory
  3. Run the test suite
  4. Observe failures in auth.routes.spec.cjs and user.model.spec.cjs

Expected Behaviour

All backend tests should pass.


Actual Behaviour

Auth Routes and User Model test suites are failing.


Screenshots

Image

Type of Change

  • Bug fix
  • New feature
  • Code style update
  • Breaking change
  • Documentation update

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions