Last active
June 6, 2019 17:28
-
-
Save ivanbtrujillo/2c25f1a6ec704877b06ba4ece662f799 to your computer and use it in GitHub Desktop.
react-testing-library-article-1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Sum from './Sum'; | |
describe('Sum', () => { | |
it('should render', () => ( | |
)); | |
it('should have two inputs to add the numbers', () => ( | |
)); | |
it('should have a button to fire the sum action', () => ( | |
)); | |
it('should have text to show the result', () => ( | |
)); | |
it('should sum value1 and value2 and show the result', () => ( | |
)); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment