The repository contains code for simple React Apps. Each project was built from scratch during the recording of the YouTube video.
npm install --save-dev vitest @testing-library/react @testing-library/jest-dom jsdom @vitest/coverage-v8
test: {
environment: 'jsdom',
setupFiles: ['./tests/setup.js'],
globals: true,
},
import '@testing-library/jest-dom/vitest';
"test": "vitest run",
"test:watch": "vitest"