Skip to content

Instantly share code, notes, and snippets.

@ivanbtrujillo
Last active June 6, 2019 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivanbtrujillo/2c25f1a6ec704877b06ba4ece662f799 to your computer and use it in GitHub Desktop.
Save ivanbtrujillo/2c25f1a6ec704877b06ba4ece662f799 to your computer and use it in GitHub Desktop.
react-testing-library-article-1
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