Closed Egge21M closed 18 hours ago
Test cases should be run for both node as well as jsdom environments to ensure the library behaves as expected in the browser.
node
jsdom
Meh... https://github.com/jestjs/jest/pull/11241
Turns out jest's jsdom environment still has some APIs that should not be available in the browser. I guess we can mock those to throw if called
Test cases should be run for both
node
as well asjsdom
environments to ensure the library behaves as expected in the browser.