Using multiple 'Describe' blocks in Jest causes Topology connection error in MongoDB and Mongoose

后端 未结 0 625
梦谈多话
梦谈多话 2020-11-28 06:42

I am writing unit tests using Jest for my backend application and noticed that I kept getting topology error like below:

MongoError: Topology closed


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