DEV Community

Discussion on: Testing Node.js + Mongoose with an in-memory database

Collapse
 
shivamahuja123 profile image
Shivam Ahuja

Hey I wanted to ask how that productModel.create() method works because we dont have any create method in the product.js in models