Demo of using React Testing Library with Tailwind components.
Uses vitest
for a faster alternative to jest
.
npm install
To run the tests:
npm test
To generate a coverage report:
npm run test:coverage
To see the component stories:
npm run storybook
To run the app itself:
npm run dev