/react-testing-workshop

React testing workshop for my talk at ReactDevsKE Meetup at Moringa School (6/4/2024)

Primary LanguageTypeScript

React Testing Workshop

Setting Up

  • Run yarn to install the dependencies.
  • Run yarn dev to start the development server.

Running Tests

  • Run yarn test to run all the tests on the terminal.
  • Run yarn test:ui to run all the tests both on the terminal and using Vitest UI.

Sample solutions

  • Sample solutions have been included in the sample-solutions branch.
  • Run git checkout sample-solutions to switch to the branch.