You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating the jsdom() invocation with a non-about:blank (JSDOM default) URL works. Example:
jsdom({
url: 'https://example.org/',
});
I'm wondering if the documentation should be changed accordingly, or if a default URL should be used in the library. If you'd like either of these changes made in a fork and a PR opened, please let me know.
The text was updated successfully, but these errors were encountered:
I'm attempting to use
mocha-jsdom
with the instructions per https://www.npmjs.com/package/mocha-jsdom. However, I'm receiving an error from JSDOM that appears similar to what was commented in at jsdom/jsdom#2304.I see this in a fresh install, with the following test:
A test repo, with only
mocha
andmocha-jsdom
andchai
is available at https://github.com/honzie/jsdom-mocha-error/blob/master/test/test-test.js.Updating the
jsdom()
invocation with a non-about:blank
(JSDOM default) URL works. Example:I'm wondering if the documentation should be changed accordingly, or if a default URL should be used in the library. If you'd like either of these changes made in a fork and a PR opened, please let me know.
The text was updated successfully, but these errors were encountered: