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

Fixes #21578 - Cmp.PropTypes to Cmp.propTypes #4978

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

sharvit
Copy link
Contributor

@sharvit sharvit commented Nov 5, 2017

Chart, ChartBox and StatisticsChartsList are using prop-types in a wrong
way.

Chart is declaring about prop-types it is never used.

http://projects.theforeman.org/issues/21578

@sharvit
Copy link
Contributor Author

sharvit commented Nov 5, 2017

Any idea why Travis is failing because of mismatched snapshots?

The changes shouldn't affect the snapshots and it is not failing locally.

@ohadlevy
Copy link
Member

ohadlevy commented Nov 6, 2017

@sharvit this is the same failure @danseethaler is facing on #4944 - did you figure out which npm package shoudld be pinned?

@sharvit
Copy link
Contributor Author

sharvit commented Nov 6, 2017

@ohadlevy - check out my comment on @danseethaler pr #4944

sharvit pushed a commit to sharvit/foreman that referenced this pull request Nov 6, 2017
Based on those pull requests:
theforeman#4944
theforeman#4978

Upgrading the enzyme packages and update the snapshots.
ohadlevy pushed a commit that referenced this pull request Nov 6, 2017
Based on those pull requests:
#4944
#4978

Upgrading the enzyme packages and update the snapshots.
Copy link

@waldenraines waldenraines left a comment

Choose a reason for hiding this comment

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

This looks fine to me, approved pending passing tests.

@ohadlevy
Copy link
Member

ohadlevy commented Nov 6, 2017

@sharvit please rebase

Chart, ChartBox and StatisticsChartsList are using prop-types in a wrong
way.

Chart is declaring about prop-types it is never used.

http://projects.theforeman.org/issues/21578
@sharvit sharvit force-pushed the feature/21578-fix-prop-types branch from 8ac48fa to 3412d4e Compare November 6, 2017 16:35
@sharvit
Copy link
Contributor Author

sharvit commented Nov 6, 2017

Rebased and passed all tests.

@ohadlevy ohadlevy merged commit 5209d7c into theforeman:develop Nov 6, 2017
@sharvit sharvit deleted the feature/21578-fix-prop-types branch November 6, 2017 19:32
mmack pushed a commit to mmack/foreman that referenced this pull request Dec 13, 2017
Based on those pull requests:
theforeman#4944
theforeman#4978

Upgrading the enzyme packages and update the snapshots.
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.

4 participants