-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Property localStorage is not defined in Vitest using [email protected] #1339
Comments
Thank you for reporting @ottomated! 🙂 I'm trying to reproduce the problem, but it seems like it is working in my environment. I can't access the codesandbox. Is it possible for you to change permission? |
It seems like it is working here: |
Updated permissions |
…ng registered globally by Vitest
…fined-on-1411 fix: [#1339] Fixes problem with properties defined as getters not bei…
@ottomated thank you for updating permissions. There is a fix in now that solves the problem: I described the problem and solution in the release notes:
|
Thanks for the quick fix! |
Describe the bug
Prior to 14.1.1, global uses of
localStorage
would work as expected. They no longer do.To Reproduce
See codesandbox repro
Expected behavior
Global uses of window globals should work as expected.
Device:
All
The text was updated successfully, but these errors were encountered: