mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-27 19:48:48 +00:00
test: update trajectory recorder mock
This commit is contained in:
@@ -1417,7 +1417,9 @@ describe("CodexAppServerEventProjector", () => {
|
||||
it("uses streamed command output when final command snapshots omit aggregated output", async () => {
|
||||
const onAgentEvent = vi.fn();
|
||||
const trajectoryRecorder = {
|
||||
enabled: true as const,
|
||||
filePath: "trajectory.jsonl",
|
||||
runtimeScope: "sqlite:test:trajectory:session-1",
|
||||
recordEvent: vi.fn(),
|
||||
flush: vi.fn(async () => undefined),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user