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
Describe the bug
The local storage function is not called. If I put a console outside the function, the log is shown, but the console inside the function is never shown. I'm using happy-dom as the environment in my vite.config.ts file.
Expected behavior
The local storage function should be called.
Screenshots
The text was updated successfully, but these errors were encountered:
It's a bit hard to see how this relates to happy-dom as the localStorage is user defined in this scenario and important context is missing - there is no information on what LocalStorageUtils does. Since that is the only non setup code here, it's practically impossible to advise on this issue without knowing that. Given that this was asked 2 weeks ago with no activity I would assume you found the issue within your codebase and this needs to further action?
@OlaviSau to be fair, I have this same issue with local storage which did work in 15.7.3. But we had to update the package due to a critical issue, to at least 15.10+ which broke any test with localStorage in them. So there clearly must be a change in the package that is responsible for it.
Describe the bug
The local storage function is not called. If I put a console outside the function, the log is shown, but the console inside the function is never shown. I'm using happy-dom as the environment in my vite.config.ts file.
Expected behavior
The local storage function should be called.
Screenshots
The text was updated successfully, but these errors were encountered: