Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
dist
.babelrc
.gitignore
README.md
WikiSearch.js
WikiSearch.test.js
WikiSearch2.js
WikiSearchtest1.js
WikiSearchtest2.js
deck.mdx
fetchmock.js
package-lock.json
package.json
setupJest.js
square.test.js
square1.js
square2.js
square3.js
squaremock.test.js
test.json
theme.js

README.md

test-talk

A talk about testing React components with Jest & react-testing-library I gave at Woodlands Area Software Enthusiasts.

Slides

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

You can’t perform that action at this time.