I have a method that sets an event listener on the window element when it\'s called. I want to test this method to see if window.addEventListener has b
window
window.addEventListener