Getting TypeError: User is not a constructor when testing user add with API

后端 未结 0 1409
孤独总比滥情好
孤独总比滥情好 2021-02-15 07:10

I am trying to make my backend work with MongoDB ATLAS. I\'m using express, mongoose and node.js for my tests and when I am trying to test my API routes (in this case to add a u

相关标签:
回答
  • 消灭零回复
提交回复
热议问题