Skip to content

Create New Unit Tests for ./backend/models/user.model.js #1951

@dannyprikaz

Description

@dannyprikaz

Overview

Create unit tests for behavior that we are depending on in user.model.js

Action Items

  • Create a test for the serialization of user model
  • Create a test for the validation of a user model
  • If you run into any questions, add a comment to the issue and tag "@dannyprikaz"

Resources/Instructions

https://jestjs.io/docs/getting-started
https://mongoosejs.com/docs/models.html

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Final QA (product)

Relationships

None yet

Development

No branches or pull requests

Issue actions