How do you integrate the log in status in your react test?

前端 未结 0 1884
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-01 05:13

I have a React App with protected routes for example /Post. Now I am testing this route with:

test(\'Post links to the correct route [registered]\', () =>          


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