From 4ecec2f9e2f8a1d827e6f5c0c427b38eba38646f Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Wed, 10 Jun 2026 23:11:21 +0900 Subject: [PATCH] test(tooling): isolate pnpm fallback path --- test/scripts/check-deadcode-unused-files.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/scripts/check-deadcode-unused-files.test.ts b/test/scripts/check-deadcode-unused-files.test.ts index 7464d5fa5f8a..504a67155d51 100644 --- a/test/scripts/check-deadcode-unused-files.test.ts +++ b/test/scripts/check-deadcode-unused-files.test.ts @@ -196,6 +196,7 @@ src/a.ts: src/a.ts const calls: unknown[] = []; const resultPromise = runKnipUnusedFiles({ + env: { PATH: "" }, npmExecPath: "", spawnCommand(command: string, args: string[], options: unknown) { calls.push({ args, command, options });