Passing data from the test context to a Jest mocked ES6 class

后端 未结 0 1195
小蘑菇
小蘑菇 2021-02-19 09:09

I have a test framework that I\'m building for my project. In the test file, we have something like this:

//myTest.tsx
import {MyFooDependency} from \'path/to/MyF         


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