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

@@ -268,7 +268,7 @@ export default function DashboardTrainingVisibilityWidget({ user }) {
}}
>
<Link
to={`/planning?unit=${first.id}`}
to={`/planning/units/${first.id}/edit`}
className="btn-ghost"
style={{
padding: '2px 4px',