-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Migrated TextField
tests to @testing-library/react
#1298
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1298 +/- ##
=======================================
Coverage 94.60% 94.60%
=======================================
Files 231 231
Lines 3821 3821
Branches 1029 1029
=======================================
Hits 3615 3615
Misses 82 82
Partials 124 124 ☔ View full report in Codecov by Sentry. |
b12ab33
|
||
if (options.testShowInlineError) { | ||
test('<TextField> - renders a TextField with correct error text (specified)', () => { | ||
const errorMessage = '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.
I'd put a different errorMessage
text to not interfere with a probable default text. Something like "Error message test" would be nice.
Is part of #1130