How to spy a function in Jest that would run on set?

后端 未结 0 1645
暗喜
暗喜 2021-01-25 17:27

I have an object like this:

const obj = {

}

And I want to transform it and add a method, and that method

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