fix(scripts): reject short flag vitest profile dirs · openclaw/openclaw@6399eb8
vincentkoc
·
2026-06-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -91,6 +91,9 @@ describe("scripts/run-vitest-profile", () => {
|
91 | 91 | |
92 | 92 | it("rejects missing profile output directories", () => { |
93 | 93 | expect(() => parseArgs(["runner", "--output-dir"])).toThrow("Expected --output-dir <dir>."); |
| 94 | +expect(() => parseArgs(["runner", "--output-dir", "-h"])).toThrow( |
| 95 | +"Expected --output-dir <dir>.", |
| 96 | +); |
94 | 97 | expect(() => parseArgs(["runner", "--output-dir", "--", "--config", "custom.ts"])).toThrow( |
95 | 98 | "Expected --output-dir <dir>.", |
96 | 99 | ); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。