From 8769e588a72098bc50f997e1ffef7a08c2492f3b Mon Sep 17 00:00:00 2001 From: Thomas Hardy Date: Fri, 17 Oct 2025 11:28:35 -0700 Subject: [PATCH] Assert on provided error msg --- packages/test/src/test-integration-split-two.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/test/src/test-integration-split-two.ts b/packages/test/src/test-integration-split-two.ts index 932167346..cfdb1d322 100644 --- a/packages/test/src/test-integration-split-two.ts +++ b/packages/test/src/test-integration-split-two.ts @@ -664,8 +664,8 @@ test.serial('Handle from WorkflowClient.start terminates run after continue as n }); await worker.runUntil(async () => { await t.throwsAsync(handleFromGet.result(), { instanceOf: WorkflowContinuedAsNewError }); - await handleFromStart.terminate(); - await t.throwsAsync(handleFromStart.result(), { message: 'Workflow execution terminated' }); + await handleFromStart.terminate('Expect workflow to terminate due to CAN'); + await t.throwsAsync(handleFromStart.result(), { message: 'Expect workflow to terminate due to CAN' }); }); });