Skip to content

Commit 6a42938

Browse files
authored
Set default workflowExecution.runId to a UUID in MockActivityEnvironment (#1723)
1 parent b0d0f53 commit 6a42938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/testing/src/mocking-activity-environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const defaultActivityInfo: activity.Info = {
8787
heartbeatDetails: undefined,
8888
activityNamespace: 'default',
8989
workflowNamespace: 'default',
90-
workflowExecution: { workflowId: 'test', runId: 'dead-beef' },
90+
workflowExecution: { workflowId: 'test', runId: '00000000-0000-0000-0000-000000000000' },
9191
scheduledTimestampMs: 1,
9292
startToCloseTimeoutMs: 1000,
9393
scheduleToCloseTimeoutMs: 1000,

0 commit comments

Comments
 (0)