Is it possible to require the original/actual implementation of a mocked Jest module from within the mocked module itself?

后端 未结 0 1122
执笔经年
执笔经年 2020-12-08 09:37

My app is set up so that inside my Jest config, I have a module name mapping like so:

// jest.config.js
moduleNameMapper: {
  \'utils\': \'/__m         


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