How to Jest mock/spyOn a property of a class

后端 未结 0 765
广开言路
广开言路 2020-12-08 01:34

I\'m new to Jest so I apologise if my questioning doesn\'t read correctly, I\'m unit testing a method on a vanilla JS class that has a reference to the class property \'this

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