2 Ways to Trigger the onPaste Event with Testing-Library
Testing components with paste events need not be troublesome any longer.
Published in
2 min readMay 7, 2021
If you’re building a component that uses the paste event to trigger something, you might also want to build tests to make sure it works as expected and consistently so.