How i can test history.push() in react-testing-library?

后端 未结 0 2002
不思量自难忘°
不思量自难忘° 2021-01-30 22:49

I have this scenario:

1- User fill the form fields;
2- User click in the "submit" button;
3- The async function "mutateRegisterUser()&

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