Browser testing
Closed this issue · 2 comments
franky47 commented
This requires testing in a browser, ideally in situ to detect changes in the window.name API, but unit tests can probably use a headless browser.
franky47 commented
Check out https://github.com/microsoft/playwright
franky47 commented
Using Jest's custom JSDOM works fine.