Jest: Maximum call stack size exceeded when creating a mock that import a module

后端 未结 0 1727
春和景丽
春和景丽 2021-01-26 00:09

I want to set a mock from a module, but Jest keep to throw this error. I didn\'t want to put mocks next to node_modules, so I mapped the folder in the jest conf

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