Using Enzyme/Jest to unit test a function set to variable

后端 未结 0 419
星月不相逢
星月不相逢 2020-12-11 03:22

I am having issues testing for a variable that is set equal to a function. When I run the test, it says the setTimeoutCustom function is not covered. I am NOT trying to mock

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