Testing window.open() in JavaScript with Jest
I recently had to write a test for a React component that opened a new browser window. To open the...
Tags: webdev, javascript, testing