Skip to content

Commit e02751f

Browse files
committed
Set default workflowExecution.runId to a UUID in MockActivityEnvironment
1 parent caae0a4 commit e02751f

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
@@ -81,7 +81,7 @@ export const defaultActivityInfo: activity.Info = {
8181
heartbeatDetails: undefined,
8282
activityNamespace: 'default',
8383
workflowNamespace: 'default',
84-
workflowExecution: { workflowId: 'test', runId: 'dead-beef' },
84+
workflowExecution: { workflowId: 'test', runId: '00000000-0000-0000-0000-000000000000' },
8585
scheduledTimestampMs: 1,
8686
startToCloseTimeoutMs: 1000,
8787
scheduleToCloseTimeoutMs: 1000,

0 commit comments

Comments
 (0)