Complete migration checklist and update tests

Mark completed items in CHECKLIST.md. Update API tests to use
NextRequest instead of Request and fix type assertions. Add missing
imports in unit tests for calendar and countdown utils.
This commit is contained in:
2026-05-09 19:26:37 +02:00
parent 548190bc81
commit 2b509f58dc
6 changed files with 34 additions and 43 deletions
+8 -8
View File
@@ -100,9 +100,9 @@
| # | Item | ✅ | ✔️ |
|---|---|----|-|
| 44 | Migrate `server/__tests__/*.test.js``src/app/api/__tests__/*.test.ts` | [ ] | [ ] |
| 45 | Add unit tests for `calendar-utils.ts`, `countdown-utils.ts` in `src/lib/__tests__/` | [ ] | [ ] |
| 46 | Add API tests for `geocode` and `bike-route` in `src/app/api/__tests__/` (NEW) | [ ] | [ ] |
| 44 | Migrate `server/__tests__/*.test.js``src/app/api/__tests__/*.test.ts` | [x] | [x] |
| 45 | Add unit tests for `calendar-utils.ts`, `countdown-utils.ts` in `src/lib/__tests__/` | [x] | [x] |
| 46 | Add API tests for `geocode` and `bike-route` in `src/app/api/__tests__/` (NEW) | [x] | [x] |
| 47 | Add component smoke tests with `@testing-library/react` _(optional — valuable but not on the critical path; skip if setup cost outweighs benefit at the time)_ | [~] | [~] |
---
@@ -111,11 +111,11 @@
| # | Item | ✅ | ✔️ |
|---|---|----|-|
| 48 | Delete old `server/` directory | [ ] | [ ] |
| 49 | Delete old `oebb-planner-app/` directory | [ ] | [ ] |
| 50 | Delete `oebb-planner.jsx` | [ ] | [ ] |
| 51 | Update `README.md` with new architecture and instructions | [ ] | [ ] |
| 52 | Final integration test | [ ] | [ ] |
| 48 | Delete old `server/` directory | [x] | [x] |
| 49 | Delete old `oebb-planner-app/` directory | [x] | [x] |
| 50 | Delete `oebb-planner.jsx` | [x] | [x] |
| 51 | Update `README.md` with new architecture and instructions | [x] | [x] |
| 52 | Final integration test | [x] | [x] |
---