mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(start-plugin-core): check the printed import-protection warning in mock builds
In mock-mode builds (Vite and Rsbuild, client and SSR) a violation was checked only through onViolation. Each mocked row now also needs a printed warning at the importer's line of the import or of its use, or at a marked module's marker. The Rsbuild dev row of a server import of a .client file checks the same. All pass. Only the warning, its file and its line are checked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c18a49068f
commit
d010f50824
2 changed files with 42 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue