Skip to content

Commit 07af786

Browse files
Brooooooklynclaude
andcommitted
fix(tools): drop deleted packages/test from snap-test relink map
`replaceInstalledCheckoutPackages` symlinked `node_modules/vitest` and `node_modules/@voidzero-dev/vite-plus-test` to `packages/test`, which this branch deletes. The entries are never matched by the current snap suite (only `create-framework-shim-vue` sets `linkCheckoutPackages` and it installs neither package), but a future global snap test that does install vitest would `rmSync` the real package and symlink it to the now-missing `packages/test`. Remove both stale entries. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 40272f1 commit 07af786

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/tools/src/snap-test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,7 @@ function replaceInstalledCheckoutPackages(rootDir: string, repoRoot: string): vo
265265
const replacements = new Map([
266266
['node_modules/vite-plus', path.join(repoRoot, 'packages', 'cli')],
267267
['node_modules/vite', path.join(repoRoot, 'packages', 'core')],
268-
['node_modules/vitest', path.join(repoRoot, 'packages', 'test')],
269268
['node_modules/@voidzero-dev/vite-plus-core', path.join(repoRoot, 'packages', 'core')],
270-
['node_modules/@voidzero-dev/vite-plus-test', path.join(repoRoot, 'packages', 'test')],
271269
]);
272270

273271
while (stack.length > 0) {

0 commit comments

Comments
 (0)