mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 20:05:46 -06:00
test(codex): accept correlated progress diagnostics
Co-authored-by: jesse-merhi <79823012+jesse-merhi@users.noreply.github.com>
This commit is contained in:
@@ -3311,7 +3311,11 @@ describe("runCodexAppServerAttempt", () => {
|
||||
} finally {
|
||||
stopDiagnostics();
|
||||
}
|
||||
expect(diagnosticEvents.map((event) => event.type)).toEqual([
|
||||
expect(
|
||||
diagnosticEvents
|
||||
.filter((event) => event.type.startsWith("tool.execution."))
|
||||
.map((event) => event.type),
|
||||
).toEqual([
|
||||
"tool.execution.started",
|
||||
"tool.execution.error",
|
||||
]);
|
||||
@@ -3367,7 +3371,11 @@ describe("runCodexAppServerAttempt", () => {
|
||||
} finally {
|
||||
stopDiagnostics();
|
||||
}
|
||||
expect(diagnosticEvents.map((event) => event.type)).toEqual([
|
||||
expect(
|
||||
diagnosticEvents
|
||||
.filter((event) => event.type.startsWith("tool.execution."))
|
||||
.map((event) => event.type),
|
||||
).toEqual([
|
||||
"tool.execution.started",
|
||||
"tool.execution.completed",
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user