Skip to content

Commit 985a3c2

Browse files
Update executor.test.ts
1 parent 8e67bad commit 985a3c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/__test__/executor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ describe("Executor", () => {
136136

137137
const workflowStatusBefore = await TestUtil.waitForWorkflowStatus(executor, executionId, "RUNNING");
138138

139-
expect(workflowStatusBefore.tasks?.[0]?.status).toEqual("IN_PROGRESS");
139+
expect(["IN_PROGRESS", "SCHEDULED"]).toContain(workflowStatusBefore.tasks?.[0]?.status);
140140

141141
const taskClient = new TaskClient(client);
142142
taskClient.updateTaskResult(executionId, "test_jssdk_http_task_with_asyncComplete_true", "COMPLETED", { hello: "From manuall api call updating task result" });

0 commit comments

Comments
 (0)