From 9cb92a748cdcd153bd69e0eee913a3a5603c9b10 Mon Sep 17 00:00:00 2001 From: karim Date: Tue, 27 Oct 2026 19:51:37 +0100 Subject: [PATCH] agentDocs-Test: Build-Ausgaben ausnehmen --- src/core/agentDocs.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/agentDocs.test.ts b/src/core/agentDocs.test.ts index ee3091f0..58c26a0f 100644 --- a/src/core/agentDocs.test.ts +++ b/src/core/agentDocs.test.ts @@ -13,7 +13,7 @@ describe("CLAUDE.md", () => { const pkg = JSON.parse(readFileSync(join(process.cwd(), "package.json"), "utf8")); for (const m of text.matchAll(/`((?:src|scripts|src-tauri)\/[A-Za-z0-9_./-]+?)`/g)) { const p = m[1].replace(/\/$/, ""); - if (/[*…]/.test(p) || p.includes(" ")) continue; + if (/[*…]/.test(p) || p.includes(" ") || /\/target\//.test(p)) continue; // Build-Ausgaben ausnehmen expect(existsSync(join(process.cwd(), p)), `Pfad fehlt: ${p}`).toBe(true); } for (const m of text.matchAll(/npm run ([a-z0-9:]+)/g)) {