-
Notifications
You must be signed in to change notification settings - Fork 734
Button tests with test kit #1785
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
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.
Looks great!
I wrote 2 small comments..
Anyway, Im still not sure why there's that one test that fail.. maybe we can skip it for now and get back to it later on.
@@ -0,0 +1,142 @@ | |||
import React, {useState} from 'react'; |
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 is the spec that checks the driver? maybe it's better to name the file index.driver.spec.js
?
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 don't think it right to say that it checks the driver.
more like, it checks the button using the driver.
I still not sure what is good name for this, so I will change like you say
@Dan-Kovalsky |
Description
Create the first version of test kit for some basic components using react-native/testing-library.
Use it to write tests for the Button component
Changelog
expose testkits for: Text, Image, Button