Mock window.addEventListener with Jest

后端 未结 0 1950
长情又很酷
长情又很酷 2021-02-18 22:40

I have a method that sets an event listener on the window element when it\'s called. I want to test this method to see if window.addEventListener has b

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