How to use isFormValid together with formSpy in the context of ReactJS?

后端 未结 0 1838
滥情空心
滥情空心 2021-01-28 14:18

I was asked to do an exercise, but then see in the testing code:

  it(\'check validation when the form is valid\', () => {
    let formSpy = spy();
    const f         


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