feat(tests): integrate Vitest for testing framework and add test scripts

- Added Vitest as a dependency for improved testing capabilities.
- Updated package.json with new test scripts for running tests, watching, and coverage reporting.
- Configured ESLint to recognize test runner scripts and included them in the linting process.
- Modified tsconfig.json to include Vitest types for better TypeScript support in tests.
This commit is contained in:
Julien Froidefond
2025-11-21 10:40:30 +01:00
parent 31f9855a3c
commit 8bdd3a8253
10 changed files with 1216 additions and 2 deletions

View File

@@ -18,6 +18,8 @@ const eslintConfig = [
'out/**',
'build/**',
'next-env.d.ts',
'scripts/test-runner.js', // Script Node.js qui utilise require() légitimement
'scripts/generate-icons-from-jpg.ts', // Script utilitaire avec require()
],
},
];