Jest and React hooks: testing function calls with setInterval inside useEffect

前端 未结 0 876
伪装坚强ぢ
伪装坚强ぢ 2020-12-17 23:48

I never tested any React components with hooks, so I\'m probably stuck with a simple task and ask for your help.

I have the next functional component with 1 function

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