DEV Community

loading...

Discussion on: Test-Driven Development with Nodejs, Express, Mongoose & Jest

Collapse
eaetukudo profile image
Emmanuel Etukudo Author

Thank you once again for your feedback, I forgot to update the package.json to;

{
  "name": "tdd-with-nodejs",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "jest",
    "start": "nodemon index.js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "express": "^4.17.1",
    "jest": "^26.6.3",
    "mongoose": "^5.11.9"
  },
  "dependencies": {
    "body-parser": "^1.19.0",
    "dotenv": "^8.2.0",
    "nodemon": "^2.0.6"
  }
}
Enter fullscreen mode Exit fullscreen mode

The article has been updated accordingly.