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

fix(core): undefined window bug with setItem on server #10871

Merged
merged 2 commits into from
Jan 18, 2023
Merged

Conversation

AllanZhengYP
Copy link
Member

@AllanZhengYP AllanZhengYP commented Jan 17, 2023

Description of changes

This change fixes a bug introduced in #10831. This change also adds full unit test coverage of UniversalStorage class.

The bug happens when the signIn() API is called in server-side. The integration test did not catch it because it calls signIn() in browser.

Issue #, if available

#10869

Description of how you validated changes

Unit test.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@AllanZhengYP AllanZhengYP requested review from a team as code owners January 17, 2023 01:53
Copy link
Contributor

@jimblanc jimblanc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for all the tests!

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