Why is jest not mocking my imported function correctly?

后端 未结 0 619
长情又很酷
长情又很酷 2021-01-01 06:03

All I want to do is import a util file that I\'m using in my code and mock it so that is returns true or false depending on what I\'m testing

so I tried import

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