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

[TimerMixin] Remove TimerMixin on ReactContentSizeUpdateTest #21502

Conversation

peaonunes
Copy link
Contributor

@peaonunes peaonunes commented Oct 5, 2018

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
Copy link
Contributor

@RSNara RSNara left a comment

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! 😀

Copy link
Contributor

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

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
Collaborator

@peaonunes merged commit 4d69431 into facebook:master.

@facebook facebook 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 facebook#21485.
Removed `TimerMixin` from `ReactContentSizeUpdateTest`.
Pull Request resolved: facebook#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