Skip to content

Wrap fiber-only test in feature flag - #9665

Merged
flarnie merged 1 commit into
react:masterfrom
flarnie:fixFailingFiberWarningTest
May 11, 2017
Merged

flarnie merged 1 commit into
react:masterfrom
flarnie:fixFailingFiberWarningTest

Conversation

@flarnie

@flarnie flarnie commented May 11, 2017

Copy link
Copy Markdown
Contributor

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 react#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.

@gaearon gaearon left a comment

Copy link
Copy Markdown
Collaborator

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 react:master May 11, 2017
@flarnie
flarnie deleted the fixFailingFiberWarningTest branch May 25, 2018 17:50
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
**what is the change?:**
A test was added for a change to Fiber's behavior in react#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.
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
**what is the change?:**
A test was added for a change to Fiber's behavior in react#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.
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.

3 participants