how to jest.spyon on class property

前端 未结 0 1975
温柔的废话
温柔的废话 2020-12-12 01:28

Here is my Node.js app.. one of the module I\'d like to test. The somemodule variable can be anything. I initialize it in init() method

//component.js
let som         


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