diff --git a/src/hooks/write-existing-file-guard/index.test.ts b/src/hooks/write-existing-file-guard/index.test.ts index 3eed87429..bd3290cc2 100644 --- a/src/hooks/write-existing-file-guard/index.test.ts +++ b/src/hooks/write-existing-file-guard/index.test.ts @@ -411,10 +411,7 @@ describe("createWriteExistingFileGuardHook", () => { try { symlinkSync(targetFile, symlinkPath) } catch (error) { - console.warn( - "Skipping symlink test: symlinks are not supported or cannot be created in this environment.", - error - ) + // Symlinks not supported in this environment — skip return } diff --git a/src/tools/lsp/config.test.ts b/src/tools/lsp/config.test.ts index da65e67ee..85de82c37 100644 --- a/src/tools/lsp/config.test.ts +++ b/src/tools/lsp/config.test.ts @@ -21,7 +21,7 @@ describe("isServerInstalled", () => { try { rmSync(tempDir, { recursive: true, force: true }) } catch (e) { - console.error(`Failed to clean up temp dir: ${e}`) + // cleanup failed — ignored } if (process.platform === "win32") {