Jest Unit Test for React Hooks component with act() error

前端 未结 0 1471
清歌不尽
清歌不尽 2021-01-19 14:09

I have a problem here that\'s stumping me, and I don\'t know how to go about fixing this. I have a very simple React Hooks functional component that uses the useState<

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