How to test a form with action redirection using react-testing-library

后端 未结 0 764
失恋的感觉
失恋的感觉 2021-01-26 18:20

I added a search bar using a form and an input to my React app, and I would like to check that it redirects to the right page. I am using react-testing-library and react-router-

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