test: fix react 19 compatibility and create vitest configuration

- Upgrade @testing-library/react from ^14.0.0 to ^16.0.0 (supports React 19)
- Create vitest.config.ts with jsdom environment, v8 coverage, and 80% coverage thresholds
- Run clean npm install - 829 packages added successfully
- Vitest 1.6.1 verified and operational
This commit is contained in:
2026-04-18 17:37:32 +00:00
parent e5fc1c4d33
commit 67709ca953
3 changed files with 2293 additions and 1634 deletions

View File

@@ -27,7 +27,7 @@
},
"devDependencies": {
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/node": "^20",
"@types/react": "^19",