Jest mocking a module when its immediately called in another require

后端 未结 0 570
栀梦
栀梦 2021-01-18 00:55

I\'ve been struggling with this problem for quite a few hours now. I need to mock a function exported by module A which is immediately invoked on B

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