mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:01:01 +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 () => {
|
it("projects guardian review lifecycle details into agent events", async () => {
|
||||||
const onAgentEvent = vi.fn();
|
const onAgentEvent = vi.fn();
|
||||||
const projector = createProjector({ ...createParams(), onAgentEvent });
|
const projector = await createProjector({ ...(await createParams()), onAgentEvent });
|
||||||
|
|
||||||
await projector.handleNotification(
|
await projector.handleNotification(
|
||||||
forCurrentTurn("item/autoApprovalReview/started", {
|
forCurrentTurn("item/autoApprovalReview/started", {
|
||||||
|
|||||||
Reference in New Issue
Block a user