-
Notifications
You must be signed in to change notification settings - Fork 1
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
Misc improvements to tests #67
Conversation
Will address this snapshot issue causing build failure - seen this before! |
Codecov Report
@@ Coverage Diff @@
## master #67 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 22 22
Lines 183 183
Branches 39 39
=====================================
Hits 183 183
Continue to review full report at Codecov.
|
@stevesims All now passing. |
components/remove-button/src/test.js
Outdated
}); | ||
|
||
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.
hmm - whitespace on an empty line should i believe be a linting error
}); | ||
|
||
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.
another case of whitespace on an otherwise empty line...
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.
barring the whitespace things that i think should be linting errors ;P this is a 👍
b8120cb
to
eea8793
Compare
Fix snapshot discrepancy n.b. Also adjust Jest config as per jestjs/jest#6766 (comment) Remove whitespace Minor fixes
eea8793
to
3ce053f
Compare
Now up-to-date with |
Addresses #57 and implements:
exists()
describe
blocks)expect()
per test and wrappers usually include only tested props)setProps()
describe
blocksmount
andshallow
mount
and full range of props)Coverage remains at 100%.