Unit testing setInterval function using jest and enzymes

前端 未结 0 1343
夕颜
夕颜 2020-12-21 00:56

I am working on testing a react app where I had to deal with setInterval funtion.

The React method and test case is as given below(Trying to test createCharts).

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