Skip to content

Commit 277ccc5

Browse files
committed
feat: Update orchestration termination to use terminateOptions factory
1 parent 54d0019 commit 277ccc5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/e2e-azuremanaged/orchestration.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,8 +854,8 @@ describe("Durable Task Scheduler (DTS) E2E Tests", () => {
854854
const id = await taskHubClient.scheduleNewOrchestration(orchestrator);
855855
await taskHubClient.waitForOrchestrationStart(id, undefined, 10);
856856

857-
// Terminate with options object
858-
await taskHubClient.terminateOrchestration(id, { output: "terminated-output" });
857+
// Terminate with options object using terminateOptions factory
858+
await taskHubClient.terminateOrchestration(id, terminateOptions({ output: "terminated-output" }));
859859
const state = await taskHubClient.waitForOrchestrationCompletion(id, undefined, 30);
860860

861861
expect(state).toBeDefined();

0 commit comments

Comments
 (0)