Moves the hydration test out of the routes folder

The route generator scans that folder and warned about the test file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 20:25:58 +01:00
co-authored by Claude Opus 5.5
parent a68e84c3bb
commit d6f8eb6c8e
3 changed files with 5 additions and 5 deletions
@@ -457,14 +457,14 @@ Disjoint from B2 and B4. Runs only targeted `vitest run` commands. The editing o
- Do: review every new or changed file for header comments that say why (the strict CSP and Start's inline scripts for `inlineScripts.ts`, `externalizeInlineScripts.ts`, `previewServer.ts`; why `useHydrated` and the store pattern exist; why `ssr` defaults are used), comment language per neighbour, no leftover temporary constants, no `TODO` without owner, `data-testid` naming. Run `pnpm exec prettier --write` on touched files, then `pnpm lint` and `pnpm format:check`.
- Done when: lint and format checks are clean and a `git diff --stat` shows only files named in this plan (plus `pnpm-lock.yaml`, `src/routeTree.gen.ts`).
### Step 30: Dependency hygiene (BR-BLD-11, V6) [ ]
### Step 30: Dependency hygiene (BR-BLD-11, V6) [x]
- Executor: Haiku.
- Implements: BR-BLD-11; NFR-PR-SEC-02; V6 (second part).
- Do: find packages that are now unused (`@tanstack/router-plugin` if Start replaced it: `grep -rn "router-plugin" web --include=*.ts --include=*.json -l`; nothing else imports it) and ask the main session before removing anything whose use is not obvious; if it is clearly unused run `pnpm remove <name>` (this is the only install action allowed here). Check `pnpm-workspace.yaml` overrides are intact. Run `pnpm audit:deps` and `pnpm audit:dev`.
- Done when: audit passes, lockfile consistent (`pnpm install --frozen-lockfile` succeeds), V6 updated.
### Step 31: Unit build and test verification (Step 13.5) [ ]
### Step 31: Unit build and test verification (Step 13.5) [x]
- Executor: Haiku.
- Implements: Code Generation Step 13.5; CP5; NFR-PR-Q-01.