Render view tests on the app's own route tree #417

Closed
opened 2026-10-15 12:34:09 +00:00 by root · 5 comments
root commented 2026-10-15 12:34:09 +00:00 (Migrated from gitlab.core-project.space)

Parent

#408

What to build

View tests render the app's own route tree with a memory history, so each test exercises the loader and search validation that ship. The routes the auth, games and home tests build by hand go; each vertical keeps its MSW worker and fake server.

Seam: S3 — the view tests rendered on the app's route tree.

Acceptance criteria

  • The auth, games and home tests mount the app's router, not a hand-built route tree.
  • No test re-declares a loader or a search validator that lives in routes/.
  • The shared hand-built route helper is deleted once unused.
  • Every test asserts what it asserted before; only how it mounts changes.
  • The gate is green.
## Parent #408 ## What to build View tests render the app's own route tree with a memory history, so each test exercises the loader and search validation that ship. The routes the auth, games and home tests build by hand go; each vertical keeps its MSW worker and fake server. Seam: S3 — the view tests rendered on the app's route tree. ## Acceptance criteria - [ ] The auth, games and home tests mount the app's router, not a hand-built route tree. - [ ] No test re-declares a loader or a search validator that lives in `routes/`. - [ ] The shared hand-built route helper is deleted once unused. - [ ] Every test asserts what it asserted before; only how it mounts changes. - [ ] The gate is green.
root commented 2026-10-15 12:34:09 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #408

marked this issue as related to #408
root commented 2026-10-15 12:34:09 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #415

marked this issue as related to #415
root commented 2026-10-15 13:17:12 +00:00 (Migrated from gitlab.core-project.space)

mentioned in merge request !534

mentioned in merge request !534
root commented 2026-10-15 13:37:01 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 42ee1332af

mentioned in commit 42ee1332afa0a3644dcf648400aaa8df4d277ca8
root commented 2026-10-15 14:14:07 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 605fbf62ef

mentioned in commit 605fbf62ef088cc74df517ffc3b40f8bf64d7eb6
root (Migrated from gitlab.core-project.space) closed this issue 2026-10-15 15:22:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
amaurycoudr/chess-project#417
No description provided.