Jest: How to ignore __mocks__ folder for specific test and instead use a mock I define in the test file?

前端 未结 0 1383
清酒与你
清酒与你 2021-01-12 11:56

I have a __mocks__ folder that mocks out a node module. This works for most of my tests, but in one particular test I need a custom mock. I need my unit-tested

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