How to spy on named function?

前端 未结 0 1928
天涯浪人
天涯浪人 2021-01-28 22:22

I am trying to spy on a named function, exported from the same file from the function I am trying to test. I want to test that function has been called. I want to avoid mocking

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