Cannot handle exceptions generated by require() in jest.isolatemodule()

前端 未结 0 1213
无人共我
无人共我 2021-02-04 22:51

This is the code I want to test:

mongoose
    .connect(dbUrl, { useNewUrlParser: true })
    .then(({ connection }) => {         


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