jest enzyme testing for component with hooks does not update state

前端 未结 0 1910
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 03:20

I am currently trying to test a react hook which related to keyboard interaction. The hook allow user to navigate list with keyboard. For this hook, I cannot just test hook

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