Skip to content

Commit 5c38927

Browse files
authored
feat(cucumber): support @cucumber/cucumber@11 (#2676)
1 parent c504a9f commit 5c38927

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

plugins/node/instrumentation-cucumber/.tav.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@
99
mode: latest-minors
1010
node: '>=18'
1111
commands: npm test
12+
- versions:
13+
include: '^11.0.0'
14+
mode: latest-minors
15+
node: '>=18'
16+
commands: npm test

plugins/node/instrumentation-cucumber/src/instrumentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type Cucumber = typeof cucumber;
4747
type Hook = (typeof hooks)[number];
4848
type Step = (typeof steps)[number];
4949

50-
const supportedVersions = ['>=8.0.0 <11'];
50+
const supportedVersions = ['>=8.0.0 <12'];
5151

5252
export class CucumberInstrumentation extends InstrumentationBase<CucumberInstrumentationConfig> {
5353
private module: Cucumber | undefined;

0 commit comments

Comments
 (0)