mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(start-plugin-core): share compiler regression test helpers
The regression suites each built their own `StartCompiler`, output compiler, Start runtime stubs and `<Hydrate>` chunk loader. Move them into `tests/regression-helpers.ts`: - `createStartCompiler`, `compileFor`, `compileCode` and `compileAll` (client, SSR caller and provider outputs, validated), previously built in 10 files - `importModule`, `callProvider`, `importSources` and `settle`, with one minimal Start runtime instead of four variants - `compileHydrate`, `getChunkParams`, `getChunkIds`, `loadChunk`, `evaluateModule` and `renderChunk`, previously copied into 6 files No test is added, removed or renamed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0909bf5e0c
commit
a97add703d
13 changed files with 526 additions and 1256 deletions
Loading…
Add table
Add a link
Reference in a new issue