@testing-library/react-hooks 'act' function show me 'no floating promises' lint error

后端 未结 0 1047
梦如初夏
梦如初夏 2020-12-30 19:18

My test code

My test code 2

Hello. I\'m trying to test my customized hook but I don\'t know how to use \'act\' function from react-hooks-testing-library. It sh

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