Testing copy-to-clipboard interactions with Jest and Testing Library
Copy buttons are everywhere on the internet. Using the keyboard to copy data from a website nowadays feels uncomfortable. But would it be possible to write tests that access data stored in the clipboard?