Skip to content

test(playground): add test routes for e2e verification#168

Merged
qantrepreneur merged 1 commit into
mainfrom
156-playground-test-routes
May 17, 2026
Merged

test(playground): add test routes for e2e verification#168
qantrepreneur merged 1 commit into
mainfrom
156-playground-test-routes

Conversation

@qantrepreneur
Copy link
Copy Markdown
Contributor

Summary

  • Adds 12 playground test routes covering: async loaders, request params, dynamic routes, multi-param routes, context, throw handling, API handlers (multi-method), meta pages, partial slots, and typo slots
  • Adds eslint override for dynamic route filenames ([slug].tsx pattern)
  • Wires onError hook and appName context in app.ts
  • Regenerates codegen files

Context

These routes exist to support the permanent manual test suite in #156. The playground is the framework's test bed — these routes exercise all loader, routing, handler, and slot behaviors.

Does NOT close #156 — that issue is a permanent logbook.

Test plan

  • pnpm lint passes
  • pnpm check-types passes
  • pnpm format:check passes
  • pnpm dev starts, all routes accessible

🤖 Generated with Claude Code

Adds playground routes to support #156 manual test suite:
- async-loader, request-test, context-test, throw-test
- blog/[slug], blog/featured, users/[id]/posts/[postId]
- api/echo (multi-method handler)
- meta-static, meta-dynamic, partial-slots, typo-slot

Also: eslint override for dynamic route filenames ([slug].tsx),
onError hook in app.ts, regenerated codegen files.

Related to #156.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@qantrepreneur qantrepreneur merged commit 0ba699d into main May 17, 2026
3 checks passed
qantrepreneur added a commit that referenced this pull request May 21, 2026
Adds playground routes to support #156 manual test suite:
- async-loader, request-test, context-test, throw-test
- blog/[slug], blog/featured, users/[id]/posts/[postId]
- api/echo (multi-method handler)
- meta-static, meta-dynamic, partial-slots, typo-slot

Also: eslint override for dynamic route filenames ([slug].tsx),
onError hook in app.ts, regenerated codegen files.

Related to #156.

Co-authored-by: Lorenzo <lorenzofkramer@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@qantrepreneur qantrepreneur deleted the 156-playground-test-routes branch May 24, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

End-to-end manual test suite: full framework verification

1 participant