-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(button): integration test for button component #1394
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1394 +/- ##
==========================================
+ Coverage 99.35% 99.35% +<.01%
==========================================
Files 92 92
Lines 3560 3562 +2
Branches 524 524
==========================================
+ Hits 3537 3539 +2
Misses 23 23
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1394 +/- ##
==========================================
+ Coverage 99.35% 99.35% +<.01%
==========================================
Files 92 92
Lines 3560 3562 +2
Branches 524 525 +1
==========================================
+ Hits 3537 3539 +2
Misses 23 23
Continue to review full report at Codecov.
|
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.
These conversions are going to give us so much more confidence in our components. Love it 🎉
Functionally looks great - just a couple test statements that should be worded differently 😬
|
||
describe(`when format === collapsable`, () => { | ||
test(`button is not disabled`, () => { |
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.
Got a few test
statements here that should start with should...
}); | ||
|
||
test(`showProgress is false`, () => { |
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.
Definitely not a needed change, but for future reference, feel free to combine on/off tests like these into a single test
c9173ed
to
e2ed6e2
Compare
closes #1281