Enhance frontend testing setup and refactor TrainingPlanningPageRoot component
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 37s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 19s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m21s

- Added Vitest as a testing framework and included test scripts in package.json for improved testing capabilities.
- Refactored TrainingPlanningPageRoot component by removing unused state variables and imports, streamlining the code for better readability and performance.
- Introduced new utility functions for planning routes to enhance navigation within the training planning interface.
This commit is contained in:
Lars committed 2026-05-19 11:02:03 +02:00
1 parent 295c7e7efc
commit 16eaf839e7
17 files changed
+1854 -786

No files matched your search

+5 -2
View File
@@ -5,7 +5,9 @@
"scripts": {
"dev": "vite --port 3098",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@tanstack/react-virtual": "^3.13.24",
@@ -20,6 +22,7 @@
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.1.4"
"vite": "^5.1.4",
"vitest": "^3.0.5"
}
}