I\'m trying to unit test a very simple feature in a React app where I\'m blocking the user from pasting into a textarea by adding an event.preventDefault() in the e
event.preventDefault()