Jest spy on didn't detect method call on onChange event

后端 未结 0 1855
面向向阳花
面向向阳花 2021-02-18 15:57

I\'m testing React component with jest/enzyme. I wrote test in order to test onChange event call on input tag. I want to spy on method and check it was fired Here is my componen

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