Repository navigation
test(router-utils): re-enable unit tests - #8849
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
View your CI Pipeline Execution ↗ for commit 71e07ab
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Bundle Size BenchmarksThis pull request does not affect bundle size in any measured scenario. |
Merging this PR will improve performance by 6.81%2 warnings
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
Main landed parts of this PR separately against the old compiler (#8851, #8852, #8853, #8855, #8856) and re-enabled the router-utils unit tests (#8849): the PR already has each of them. The old-compiler files main edited stay deleted; the entries keep the PR's implementation (same esbuild error message). Main's changesets stay; the duplicated bullets leave the PR's router-plugin, route generator and compiler core changesets. The router plugin skill takes main's esbuild wording. #8857 (route-group layouts typed with full path '/'): the PR's generator already types them '/'. Main's test that a childless `_auth.tsx` next to the index route conflicts is dropped: SPEC J1.15 makes that pair valid here (route-paths.test.ts checks it through the router). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ests the PR lacks `test:unit` stays where main has it (#8849). Main's esbuild unit test that the plugin refuses `autoCodeSplitting` duplicates the PR's J2.18 build test (integration/build-harness.test.ts); the splitter entry's refusal and the generator-only entries have no other test and stay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tanstack/router-utils'stest:unitscript has beenexit 0; vitest --typechecksince the package was created (#3287), so its tests never ran in CI. They already pass onmain(2 files, 28 tests, no type errors), so this switches the script tovitest. Type checking stays on throughtypecheck: { enabled: true }invite.config.ts.This is split out of #8817, which makes the same script change.
Validated with
nx run-many -p @tanstack/router-utils -t test:unit,test:types,test:eslint.🤖 Generated with Claude Code
Summary by CodeRabbit