“ReferenceError: You are trying to `import` a file after the Jest environment has been torn down” when using jest with mongoose

后端 未结 0 1156
陌清茗
陌清茗 2021-01-27 20:52

i have two test files that connect with mongoose, the problem started when i added the second one i tried to use jest.useFakeTimers() after imports but nothing chan

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