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

Wrap fiber-only test in feature flag #9665

Merged
merged 1 commit into from
May 11, 2017

Conversation

flarnie
Copy link
Contributor

@flarnie flarnie commented May 11, 2017

what is the change?:
A test was added for a change to Fiber's behavior in #9608, and because of a
bug in our CirclCI script it landed when failing for non-fiber runs of the
tests.

This just wraps the test in a feature flag because it seems clear it was
only intended to test the new fiber behavior.

Thanks to @gaearon for pairing on this! :)

why make this change?:
So that tests are passing on master.

test plan:
npm run test ReactCompositeComponentState

issue:
None - figured it out before anyone opened an issue afaik.

**what is the change?:**
A test was added for a change to Fiber's behavior in facebook#9608, and because of a
bug in our CirclCI script it landed when failing for non-fiber runs of the
tests.

This just wraps the test in a feature flag because it seems clear it was
only intended to test the new fiber behavior.

Thanks to @gaearon for pairing on this! :)

**why make this change?:**
So that tests are passing on master.

**test plan:**
`npm run test ReactCompositeComponentState`

**issue:**
None - figured it out before anyone opened an issue afaik.
Copy link
Collaborator

@gaearon gaearon left a comment

Choose a reason for hiding this comment

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

Let's wait for CI to pass.

cc @acdlite: not very clear if it was intended to work for Stack too, but I assume not since Stack implementation wasn't touched.

@flarnie flarnie merged commit bec0f73 into facebook:master May 11, 2017
@flarnie flarnie deleted the fixFailingFiberWarningTest branch May 25, 2018 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants