How to test mocked function to be called with callback args in Jest?

前端 未结 0 706
自闭症患者
自闭症患者 2021-02-14 09:06

I\'d like to know how to test mock function or spy on function to be called.

This is just example code. testTarget.js



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