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

Hard-code disableModulePatternComponents in tests #18239

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented Mar 6, 2020

Hard-coding this until tests are fixed, to unblock master.

Hard-coding this until tests are fixed, to unblock master.
@acdlite acdlite requested a review from gaearon March 6, 2020 19:02
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Mar 6, 2020
@@ -18,6 +18,8 @@ jest.mock('shared/ReactFeatureFlags', () => {
wwwFlags.enableUserTimingAPI = defaultFlags.enableUserTimingAPI;
wwwFlags.disableJavaScriptURLs = defaultFlags.disableJavaScriptURLs;
wwwFlags.enableDeprecatedFlareAPI = defaultFlags.enableDeprecatedFlareAPI;
wwwFlags.disableModulePatternComponents =
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@gaearon To remove this, what we need to do is find all the tests that rely on module style components and wrap them in a feature flag check.

@sizebot
Copy link

sizebot commented Mar 6, 2020

Warnings
⚠️ Base commit is broken: 562cf01

Size changes (experimental)

Generated by 🚫 dangerJS against b6c6eb2

@sizebot
Copy link

sizebot commented Mar 6, 2020

Warnings
⚠️ Base commit is broken: 562cf01

Size changes (stable)

Generated by 🚫 dangerJS against b6c6eb2

@acdlite acdlite merged commit 5fbb165 into facebook:master Mar 6, 2020
@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 6, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b6c6eb2:

Sandbox Source
dank-resonance-e378n Configuration

@gaearon
Copy link
Collaborator

gaearon commented Mar 6, 2020

Oops sorry. I didn't realize it wouldn't merge.

@acdlite
Copy link
Collaborator Author

acdlite commented Mar 6, 2020

That's fine! Two PRs just happened to land around the same time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants