How can I get copied text from clipboard in my jest test?

前端 未结 0 368
误落风尘
误落风尘 2020-11-29 03:02

I try to test my React app with Jest.

I have a button which copies text to the clipboard. (this text is generated in my App, user can\'t see it on the screen)

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