mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:10:44 +00:00
test(codex): await event projector setup
This commit is contained in:
@@ -316,7 +316,7 @@ describe("CodexAppServerEventProjector", () => {
|
||||
|
||||
it("projects guardian review lifecycle details into agent events", async () => {
|
||||
const onAgentEvent = vi.fn();
|
||||
const projector = createProjector({ ...createParams(), onAgentEvent });
|
||||
const projector = await createProjector({ ...(await createParams()), onAgentEvent });
|
||||
|
||||
await projector.handleNotification(
|
||||
forCurrentTurn("item/autoApprovalReview/started", {
|
||||
|
||||
Reference in New Issue
Block a user