How to test a module in a describe block, and then mock it in another

前端 未结 0 1029
萌比男神i
萌比男神i 2020-12-04 07:31

Assume we have 2 async modules in a file module.js which I test them in module.test.js. I’ve imported them as:

import { fn1, fn2 } f         


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