diff --git a/packages/testing/src/index.ts b/packages/testing/src/index.ts index 129b60de6..c3f7388fc 100644 --- a/packages/testing/src/index.ts +++ b/packages/testing/src/index.ts @@ -92,7 +92,9 @@ const buildRequestBody = ( batched: boolean ): RunJobBody => ({ event, + eventIds: [event.id], job, + context: JSON.stringify(batched ? [event.context ?? {}] : event.context ?? {}), payload: JSON.stringify(batched ? [event.payload] : event.payload), batched, run: {