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 react-devtools-scheduling-profiler tests on main #20885

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

rickhanlonii
Copy link
Member

Overview

This was added and landed before my changes landed, causing main to fail since the ReactFiberHostConfig isn't selected.

This PR reverts the import to fix main.

I did it this way for two reasons:

  1. We probably shouldn't be deep importing from the reconciler
  2. I'm not sure of the correct way to mock the host config even if we decided that we should

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Feb 26, 2021
@rickhanlonii
Copy link
Member Author

Going to merge since test won't even run with a broken base commit, but will re-open with the changes re-applied to discuss.

@rickhanlonii rickhanlonii merged commit 2e8bbcb into facebook:master Feb 26, 2021
@rickhanlonii rickhanlonii deleted the rh-fix-main branch February 26, 2021 00:10
koto pushed a commit to koto/react that referenced this pull request Jun 15, 2021
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.

2 participants