0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

test(compiler-tests): main's noncompiler tests back at main's paths, main's compiler-internal tests deleted

The oracle (acceptance) is the compilers' test suite. Main's own tests split
in two:

- Tests of features that are not compilers (start-plugin-core: manifest,
  sitemap, prerender, CSRF config, schema, entry planning, post-build,
  output directory, watch-ignored, createVirtualModule, dev styles, utils,
  Rsbuild normalized client build; react-start-rsc: ClientSlot,
  ReplayableStream, ServerComponent, SlotContext, createRscProxy and the
  three type tests) are restored to main's paths and content
  (git checkout origin/main). Each package lists them in
  tests/noncompiler-tests.json: the `noncompiler` Vitest project
  (test:noncompiler) selects them, the corpus projects, the import gate and
  start-plugin-core's ESLint leave them out. react-start-rsc type-checks and
  lints tests/integration only, as main does not check these files.
- Tests of today's compiler internals that the branch had moved under
  outside-compiler-corpus/ are deleted: router-generator config, transform,
  param-name-warnings, virtual-routes; router-plugin config and the
  handle-route-update controls (the Q5 control stays); start-plugin-core
  compiler-instances, compiler-member-call-receivers, compiler-seams,
  importProtection analysis/defaults/matchers/rewrite/sourceLocation/trace/
  utils/virtualModules, Rsbuild server-fn-resolver-rebuild and swc-rsc,
  server-fn-resolver-module, Vite module-id and start-compiler-utils. The
  corpus covers their behaviour. No real-bug pin was in them.

Corpus comments that pointed at the deleted files now name main's sources.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-22 18:07:56 +02:00
commit f905f57b10
No known key found for this signature in database
93 changed files with 5874 additions and 11784 deletions