-
Notifications
You must be signed in to change notification settings - Fork 4.1k
BREAKING CHANGE: Loader component refactor #654
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
Conversation
Current coverage is 100% (diff: 100%)
|
| }) | ||
| }) | ||
|
|
||
| describe('text (class)', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be replaced with commonTest, by I don't sure that it's good idea.
common.propKeyOnlyToClassName(Loader, 'text', {
requiredProps: { children: faker },
})
common.propKeyOnlyToClassName(Loader, 'text', {
requiredProps: { content: faker },
})There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree - it would technically test the same thing but I don't think it would be as clear what you're actually testing.
jeffcarbs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and codecov is showing no drop in coverage (https://codecov.io/gh/Semantic-Org/Semantic-UI-React/commit/ba955b37fb58484b0b06ea9315f7e9bf2690639a) 👍
|
Released in |
This PR:
Loaderwarning in tests (docs(Example): Fix warnings #599);contentshorthand instead oftext.Is breaking change.