Skip to content

stub storage differently so tests work in Firefox and IE #1940

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

Merged
merged 4 commits into from
Jul 9, 2019

Conversation

Feiyang1
Copy link
Member

@Feiyang1 Feiyang1 commented Jul 3, 2019

No description provided.

storageGetItemFakeFactory(
EXPIRY_LOCAL_STORAGE_VALUE,
STRINGIFIED_CONFIG
)
Copy link
Contributor

Choose a reason for hiding this comment

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

can we put the stubbing part in a function which returns the stub? Something like the pattern discussed here: go/sifers.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. PTAL.

@Feiyang1 Feiyang1 merged commit 57bc39d into mmermerkaya-fix-saucelabs Jul 9, 2019
@Feiyang1 Feiyang1 deleted the fei-perf-ls branch July 9, 2019 20:01
Feiyang1 added a commit that referenced this pull request Sep 18, 2019
* stub storage differently so tests work in Firefox and IE

* [AUTOMATED]: Prettier Code Styling

* rewrite test setup

* [AUTOMATED]: Prettier Code Styling
Feiyang1 pushed a commit that referenced this pull request Sep 18, 2019
* Fix SauceLabs tests for Installations and Performance

* add resolveJsonModule

*  stub storage differently so tests work in Firefox and IE (#1940)

* stub storage differently so tests work in Firefox and IE

* [AUTOMATED]: Prettier Code Styling

* rewrite test setup

* [AUTOMATED]: Prettier Code Styling

* change compilation target to es5

* fix IE11 errors

* fix storage IE11 tests

* fix util IE11 test

* fix performance IE11 tests

* make installations run in IE

* fix integration/typescript tests in saucelabs

* [AUTOMATED]: Prettier Code Styling

* revert change that doesn't work

* fix lint

* add babel loader
@firebase firebase locked and limited conversation to collaborators Oct 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants