agentDocs-Test: Build-Ausgaben ausnehmen, Skriptnamen mit Bindestrich

This commit is contained in:
karim committed 2026-10-27 19:51:53 +01:00
1 parent 9cb92a748c
commit be95a91136
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}
});