Jest 'spyOn' Typescript Class without overwriting its properties and functions

前端 未结 0 1748
清酒与你
清酒与你 2020-11-30 15:32

Does anybody know how I can spyOn a whole Class (constructor, and all Functions) without overwriting everything? (Jest 26.6.3)
Currently I a

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