React How to Pass Test Function inside of UseEffect using Enzyme or Jest?

前端 未结 0 1935
情深已故
情深已故 2020-12-24 01:02

I have hundreds of components in my project. Most of the coverage on the test that I run use these functions that get called inside of UseEffect Hook.

Here is an exam

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