I want to test history.push in jest

后端 未结 0 390
耶瑟儿~
耶瑟儿~ 2020-12-11 11:33

I am a beginner in testing.

I am writing a test using jest and enzyme. However, when I tried to write a test for history.push(), I got the following erro

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