can you restore original functionality when using jest's automock?

前端 未结 0 1723
有刺的猬
有刺的猬 2021-01-07 04:29

i would like to use automock, and then restore a single function to it\'s original value, test it, and then re-mock it. this seemed like a good way to prevent any functions

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