Skip to content

Commit ddcd564

Browse files
committed
test: dry-run realtime ASR usage-error e2e to skip auth in CI
1 parent 241de61 commit ddcd564

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/commands/tests/e2e/speech-recognize.e2e.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,15 @@ describe("e2e: speech recognize", () => {
8383
});
8484

8585
test("speech recognize realtime 模型报用法错误", async () => {
86+
// 使用 --dry-run:跳过 auth,避免 CI 无密钥时先以 AUTH(3) 退出
8687
const { stderr, exitCode } = await runCommandE2e(SPEECH_ROUTES, [
8788
"speech",
8889
"recognize",
8990
"--model",
9091
"qwen3-asr-flash-realtime",
9192
"--url",
9293
"https://example.com/a.wav",
94+
"--dry-run",
9395
"--quiet",
9496
]);
9597
expect(exitCode).toBe(2);

0 commit comments

Comments
 (0)