How to simulate an Escape event that listen to event on window using in react(enzyme & jest)

后端 未结 0 1465
鱼传尺愫
鱼传尺愫 2020-12-17 03:45

Despite everything that I could find online, still not finding a working solution on how to simulate an Escape keyboard event. my component shorten look like this one

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