diff --git a/src/core/agentDocs.test.ts b/src/core/agentDocs.test.ts index 58c26a0f..5cb96c6f 100644 --- a/src/core/agentDocs.test.ts +++ b/src/core/agentDocs.test.ts @@ -16,7 +16,7 @@ describe("CLAUDE.md", () => { 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)) { + for (const m of text.matchAll(/npm run ([a-z0-9:-]+)/g)) { expect(pkg.scripts[m[1]], `npm-Skript fehlt: ${m[1]}`).toBeTruthy(); } });