ERROR : expect(jest.fn()).toHaveBeenCalled()

后端 未结 0 1752
情歌与酒
情歌与酒 2021-01-04 00:30

I have following codes, trying to test fireevent onclick but it responds an error. What is the problem?


test(\'fires onClick event\', ()=>{     
        c         


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