Skip to content
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

Add jsdom user agent check to global shim #474

Merged
merged 2 commits into from
Jul 30, 2019

Conversation

maier49
Copy link
Contributor

@maier49 maier49 commented Jul 30, 2019

Type: bug

The following has been addressed in the PR:

Description:
Checking for globalThis this was breaking testing functionality that expected the jsdom window to be returned from global.ts. This adds an explicit check that should detect when the window has been provided by jsdom.

@maier49 maier49 requested a review from matt-gadd July 30, 2019 16:55
@maier49 maier49 merged commit 26e55a7 into dojo:master Jul 30, 2019
@maier49 maier49 deleted the dont-return-global-this-when-testing branch July 30, 2019 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants