npm installnpm run devnpm run buildRun Unit Tests with Vitest
npm run test:unitRun End-to-End Tests with Cypress
npm run test:e2e:devThis runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):
npm run build
npm run test:e2eLint with ESLint
npm run lintplease add a .env.local file to the root of the project with the following variables:
VITE_BASE_URL=YOUR_URL
VITE_FILESTACK_URL=YOUR_URL VITE_FILESTACK_API_KEY=YOUR_API_KEY
or copy the .env.example file, rename it .env.local and fill in the values
NB: Contrairement à ce que j'ai indiqué dans le dossier la mise à jour des images a été corrigée et fonctionne correctement.