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

Fix incomplete PropTypes definition in FormTab component. #4501

Merged
merged 8 commits into from Apr 20, 2020

Conversation

WiXSL
Copy link
Contributor

@WiXSL WiXSL commented Mar 10, 2020

No description provided.

@WiXSL WiXSL requested a review from fzaninotto March 10, 2020 20:11
@fzaninotto
Copy link
Member

The multiple comments on this PR show me that you haven't tested the code. I suggest you add unit or integration tests.

@WiXSL WiXSL requested a review from fzaninotto March 22, 2020 21:08
@WiXSL
Copy link
Contributor Author

WiXSL commented Mar 22, 2020

Ok. Could you give me a basic idea of a test regarding the check of the propTypes.

@fzaninotto
Copy link
Member

Add a test case in the FormTab unit case where you pass all possible props to the TabbedForm (margin, variant, etc), and check that there is no warning when it runs.

@fzaninotto fzaninotto merged commit 2c167a4 into marmelab:master Apr 20, 2020
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto added this to the 3.4.3 milestone Apr 20, 2020
@fzaninotto fzaninotto changed the title Improved PropTypes definition in FormTab component. Fix incomplete PropTypes definition in FormTab component. Apr 20, 2020
@WiXSL WiXSL deleted the fix-proptypes-formtab branch April 20, 2020 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants