fix(test): reject empty gateway cpu runs · openclaw/openclaw@ad3d197
vincentkoc
·
2026-05-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -20,6 +20,12 @@ afterEach(() => {
|
20 | 20 | }); |
21 | 21 | |
22 | 22 | describe("gateway CPU scenario guard", () => { |
| 23 | +it("rejects runs with every scenario family skipped", () => { |
| 24 | +expect(() => |
| 25 | +testing.parseArgs(["--output-dir", makeTempRoot(), "--skip-startup", "--skip-qa"]), |
| 26 | +).toThrow("--skip-startup and --skip-qa cannot be used together"); |
| 27 | +}); |
| 28 | + |
23 | 29 | it("prepares CLI startup artifacts before running the startup bench", async () => { |
24 | 30 | const outputDir = makeTempRoot(); |
25 | 31 | const calls: Array<{ command: string; args: string[] }> = []; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。