test-talk
A talk about testing React components with Jest & react-testing-library
I gave at Woodlands Area Software Enthusiasts.
Files
The main sources are
- deck.mdx - The slide deck
- square.js and square.test.js - The square function and its tests
- WikiSearch.js and WikiSearch.test.js - The React component and its tests
The other files are mainly for being displayed in the slides.
Viewing
npm i
- To run the slides:
npm start
- To run the test suite:
npm coverage
Further reading
Libraries