Open
Description
hey there! I'm having issues with getting tests to pass with the models exercises.
Steps taken
click to see my steps
git clone url
npm install
- navigate to the exercises/models directory and run this
npm test exercises/models/__test__/
- tests pass even though I did not enter code for tests
on the connect.js file I entered this
const mongoose = require('mongoose')
mongoose.Promise = global.Promise
const connect = () => {
return mongoose.connect('mongodb://localhost:27017/usersDatabase')
}
module.exports = connect
Metadata
Metadata
Assignees
Labels
No labels