Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 570 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 570 Bytes

React unit testing intro

Small project with common conventions and tests written to test react components, context and hooks

To run this project

  1. Ensure node is installed (>= v16 suggested)

  2. Requires yarn package manager npm instal yarn

  3. Install dependencies yarn

  4. Run project

// For local dev server
yarn dev

// run all test
yarn test

// run in watch mode: run tests on files that have changed and its dependents
yarn test --watch

// produce coverage report
yarn test --coverage


Project created using Vite react + typescript template