diff --git a/fixtures/workflow-multiple/src/index.ts b/fixtures/workflow-multiple/src/index.ts index 3498d07e2f248..adaf369e8e93a 100644 --- a/fixtures/workflow-multiple/src/index.ts +++ b/fixtures/workflow-multiple/src/index.ts @@ -29,7 +29,7 @@ export class Demo extends WorkflowEntrypoint<{}, Params> { }; }); - return [result, result2, timestamp, payload, "workflow1"]; + return "i'm workflow1"; } } @@ -53,7 +53,7 @@ export class Demo2 extends WorkflowEntrypoint<{}, Params> { }; }); - return [result, result2, timestamp, payload, "workflow2"]; + return "i'm workflow2"; } } diff --git a/fixtures/workflow-multiple/tests/index.test.ts b/fixtures/workflow-multiple/tests/index.test.ts index 29268cd0ea29a..fbeff1eec912e 100644 --- a/fixtures/workflow-multiple/tests/index.test.ts +++ b/fixtures/workflow-multiple/tests/index.test.ts @@ -48,7 +48,8 @@ describe("Workflows", () => { id: "test", status: { status: "running", - output: [], + __LOCAL_DEV_STEP_OUTPUTS: [], + output: null, }, }; @@ -65,7 +66,8 @@ describe("Workflows", () => { id: "test", status: { status: "running", - output: [{ output: "First step result" }], + __LOCAL_DEV_STEP_OUTPUTS: [{ output: "First step result" }], + output: null, }, }; await Promise.all([ @@ -96,10 +98,11 @@ describe("Workflows", () => { id: "test", status: { status: "complete", - output: [ + __LOCAL_DEV_STEP_OUTPUTS: [ { output: "First step result" }, { output: "workflow1" }, ], + output: "i'm workflow1" }, }); }, @@ -113,10 +116,11 @@ describe("Workflows", () => { id: "test", status: { status: "complete", - output: [ + __LOCAL_DEV_STEP_OUTPUTS: [ { output: "First step result" }, { output: "workflow2" }, ], + output: "i'm workflow2" }, }); },