-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document URL parsing #2453
Comments
I'm not sure if we can do anything about that. @cpojer what do you think? |
Yes, Jest uses |
But happy to discuss it of course! |
I was digging1 and setting the I think that it would be nice to be able to manipulate the jsdom environment instance everywhere, so that I was able to call the Regards, |
Glad you worked this out! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
This is the Firefox and Google Chrome behavior when the source code runs on a page whose document.location is
about:blank
what is not expected as thewindow.location.href
property is defined by (Issue#890)If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can
yarn install
andyarn test
.What is the expected behavior?
This is the Firefox and Google Chrome behavior when the source code run on a page whose document.location is other than
about:blank
.Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
The text was updated successfully, but these errors were encountered: