Skip to content

[TimerMixin] Remove TimerMixin on ReactContentSizeUpdateTest - #21502

Closed
peaonunes wants to merge 1 commit into
react:masterfrom
peaonunes:refactor/rm-timermixin-ReactContentSizeUpdateTest
Closed

peaonunes wants to merge 1 commit into
react:masterfrom
peaonunes:refactor/rm-timermixin-ReactContentSizeUpdateTest

Conversation

@peaonunes

@peaonunes peaonunes commented Oct 5, 2018 •

Copy link
Copy Markdown
Contributor

Related to #21485.
Removed TimerMixin from ReactContentSizeUpdateTest.

Test Plan:

I am still not sure on how test this change since the change was made on ReactContentSizeUpdateTest which is a IntegrationTest.
The file is referenced at IntegrationTests/RCTRootViewIntegrationTestApp.js and RNTester/RNTesterIntegrationTests/RCTRootViewIntegrationTests.m which seems to be some kind of suit of tests, but I have not found any run instructions for that. I am thinking about on how to guarantee that the test is correct since it might pass now, but not really testing what it was supposed to test, etc.

Who do we test the 'tester' ? haha.
It would be nice to have some guidance here.

On the other hand, I've made sure to run:

  • yarn run prettier
  • yarn run flow-check-ios
  • yarn run flow-check-android

All done with no errors =]

Release Notes:

[GENERAL] [ENHANCEMENT] [IntegrationTests/ReactContentSizeUpdateTest.js] - Remove TimerMixin in favor of TimeoutID and controlled timeout

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 5, 2018

@RSNara RSNara left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this test was disabled a while ago in our CI. Before I land this code, I'll try to run this test locally. Thanks for the PR! 😀

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

RSNara has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@hramos hramos changed the title Remove TimerMixin on ReactContentSizeUpdateTest [TimerMixin] Remove TimerMixin on ReactContentSizeUpdateTest Oct 5, 2018
@react-native-bot

Copy link
Copy Markdown
Collaborator

@peaonunes merged commit 4d69431 into facebook:master.

@react react locked as resolved and limited conversation to collaborators Oct 5, 2018
@react-native-bot react-native-bot added the Merged This PR has been merged. label Oct 5, 2018
t-nanava pushed a commit to microsoft/react-native-macos that referenced this pull request Jun 17, 2019
Summary:
Related to react#21485.
Removed `TimerMixin` from `ReactContentSizeUpdateTest`.
Pull Request resolved: react#21502

Reviewed By: TheSavior

Differential Revision: D10218548

Pulled By: RSNara

fbshipit-source-id: 9a0642e14f8548d8dc9683f0f70353416ed04ae0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants