@testing-library/react (rtl) 'waitFor' makes only success without await keyword

后端 未结 0 1693
死守一世寂寞
死守一世寂寞 2021-01-07 12:18

await waitFor() makes my test fail but waitFor() makes my test successful (without await).

The official doc said

The asy

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