chore: Fix audit test on Windows.

main
cpojer 2026-02-06 10:22:48 +09:00
parent f16e32b73d
commit 328b69be17
No known key found for this signature in database
GPG Key ID: C29F94A3201118AF
1 changed files with 1 additions and 1 deletions

View File

@ -1082,7 +1082,7 @@ description: test skill
);
expect(pluginFinding).toBeDefined();
expect(pluginFinding?.detail).toContain("dangerous-exec");
expect(pluginFinding?.detail).toMatch(/\.hidden\/index\.js:\d+/);
expect(pluginFinding?.detail).toMatch(/\.hidden[\\/]+index\.js:\d+/);
const skillFinding = deepRes.findings.find(
(finding) => finding.checkId === "skills.code_safety" && finding.severity === "critical",