From 93fc636b2256b75434d7ff54a0c0b3d5c0230b9f Mon Sep 17 00:00:00 2001 From: David Goss Date: Thu, 24 Jul 2025 16:01:07 +0100 Subject: [PATCH 1/2] Make testRunStartedId optional --- cucumber-core.api.md | 2 +- src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cucumber-core.api.md b/cucumber-core.api.md index 1f477b2..41bd75c 100644 --- a/cucumber-core.api.md +++ b/cucumber-core.api.md @@ -170,7 +170,7 @@ export interface TestPlanIngredients { gherkinDocument: GherkinDocument; pickles: ReadonlyArray; supportCodeLibrary: SupportCodeLibrary; - testRunStartedId: string; + testRunStartedId?: string; } // @public diff --git a/src/types.ts b/src/types.ts index 977a35d..55f1929 100644 --- a/src/types.ts +++ b/src/types.ts @@ -298,7 +298,7 @@ export interface TestPlanIngredients { /** * Identifier for the test run within which this plan will be executed */ - testRunStartedId: string + testRunStartedId?: string /** * The Gherkin document that has been processed */ From 1a9f167266bdafd2f7b11cb0080ac9ff665d1152 Mon Sep 17 00:00:00 2001 From: David Goss Date: Thu, 24 Jul 2025 16:40:49 +0100 Subject: [PATCH 2/2] update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcef2bd..6514493 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed +- Make `testRunStartedId` optional ([#4](https://github.com/cucumber/javascript-core/pull/4)) ## [0.2.0] - 2025-07-24 ### Added