Skip to content

Always use proxy to window, fixes #602#608

Open
bobisjan wants to merge 1 commit intosimonihmig:masterfrom
bobisjan:embroider-is-testing
Open

Always use proxy to window, fixes #602#608
bobisjan wants to merge 1 commit intosimonihmig:masterfrom
bobisjan:embroider-is-testing

Conversation

@bobisjan
Copy link
Copy Markdown

@bobisjan bobisjan commented Apr 28, 2026

This is just an attempt to fix using isTesting in module scope #602.

AFAICT, it feels fine to expect that import window from 'ember-window-mock' returns something like window, otherwise direct use of global window could be used instead. Hence no need for isTesting check? 🤔

Hide whitespace 👀

@bobisjan bobisjan force-pushed the embroider-is-testing branch from 66e70f0 to 4b52cf1 Compare April 28, 2026 17:52
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.

1 participant