fix(test): reject group report flag values

This commit is contained in:
Vincent Koc
2026-06-21 19:56:25 +02:00
parent d91aee7220
commit 8086cffd17
2 changed files with 2 additions and 1 deletions

View File

@@ -592,6 +592,7 @@ describe("scripts/test-group-report arg parsing", () => {
expect(() => parseTestGroupReportArgs([flag, "--limit", "5"])).toThrow(
`${flag} requires a value`,
);
expect(() => parseTestGroupReportArgs([flag, "-h"])).toThrow(`${flag} requires a value`);
}
for (const flag of [
"--limit",