test(release): accept codex idle-ready variants · openclaw/openclaw@0735c32
steipete
·
2026-05-10
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -150,10 +150,11 @@ describe("gateway codex harness live helpers", () => {
|
150 | 150 | }); |
151 | 151 | |
152 | 152 | it("accepts the idle-ready status emitted by current codex", () => { |
153 | | -const text = "Idle and ready."; |
| 153 | +const text = "I'm idle and ready."; |
154 | 154 | |
155 | 155 | expect( |
156 | | -EXPECTED_CODEX_STATUS_COMMAND_TEXT.some((expectedText) => text.includes(expectedText)), |
| 156 | +EXPECTED_CODEX_STATUS_COMMAND_TEXT.some((expectedText) => text.includes(expectedText)) || |
| 157 | +isExpectedCodexStatusCommandText(text), |
157 | 158 | ).toBe(true); |
158 | 159 | }); |
159 | 160 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。