unable to test timeout function within useEffect hook

前端 未结 0 1942
再見小時候
再見小時候 2020-12-31 21:19

I am creating a lazyload image loader component that will load image if it is visible for more than 500ms.

It is working as expected but I am unable to write a test t

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