This is a react app that's built with vite tool. It's meant to walk you through testing react components.
vite is a build tool that aims to provide a faster and leaner development experience for modern web projects.
- vite build tool.
- vitest for unit testing.
- react-tesing-library for integration testing.
- clone the repo, and run
npm install
.
- run
npm run dev
to run the app. - run
npm test
to run the test. - run
npm run coverage
to run the test coverage. - run
npm run test:ui
to see beautifully ui reports of the test. and then head tohttp://127.0.0.1:51204/__vitest__/
.