From e02751f6456bc91bfa044d371ed9e38e5faeb1e8 Mon Sep 17 00:00:00 2001 From: Graham Rogers Date: Tue, 10 Jun 2025 10:50:59 +0100 Subject: [PATCH] Set default `workflowExecution.runId` to a UUID in `MockActivityEnvironment` --- packages/testing/src/mocking-activity-environment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/testing/src/mocking-activity-environment.ts b/packages/testing/src/mocking-activity-environment.ts index b9f9c05b0..ce3d4bae7 100644 --- a/packages/testing/src/mocking-activity-environment.ts +++ b/packages/testing/src/mocking-activity-environment.ts @@ -81,7 +81,7 @@ export const defaultActivityInfo: activity.Info = { heartbeatDetails: undefined, activityNamespace: 'default', workflowNamespace: 'default', - workflowExecution: { workflowId: 'test', runId: 'dead-beef' }, + workflowExecution: { workflowId: 'test', runId: '00000000-0000-0000-0000-000000000000' }, scheduledTimestampMs: 1, startToCloseTimeoutMs: 1000, scheduleToCloseTimeoutMs: 1000,