Mongoose User Model Testing with Jest
User model with username, email, and password authentication.
Set up and run the code:
- Run
npm install
- Make sure MongoDB is running
- Run
npm run test
User model with username, email, and password authentication.
npm install
npm run test