Skip to content

Commit

Permalink
feat(cucumber): support @cucumber/cucumber@10
Browse files Browse the repository at this point in the history
  • Loading branch information
Ugzuzg committed Nov 27, 2023
1 parent 60d60d0 commit c9c44dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-cucumber/.tav.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'@cucumber/cucumber':
versions: '^8.0.0 || ^9.0.0'
versions: '^8.0.0 || ^9.0.0 || ^10.0.0'
commands: npm test
4 changes: 2 additions & 2 deletions plugins/node/instrumentation-cucumber/src/instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class CucumberInstrumentation extends InstrumentationBase {
return [
new InstrumentationNodeModuleDefinition<Cucumber>(
'@cucumber/cucumber',
['^8.0.0', '^9.0.0'],
['^8.0.0', '^9.0.0', '^10.0.0'],
(moduleExports, moduleVersion) => {
this._diag.debug(
`Applying patch for @cucumber/cucumber@${moduleVersion}`
Expand Down Expand Up @@ -86,7 +86,7 @@ export class CucumberInstrumentation extends InstrumentationBase {
default: { new (): TestCaseRunner; prototype: TestCaseRunner };
}>(
'@cucumber/cucumber/lib/runtime/test_case_runner.js',
['^8.0.0', '^9.0.0'],
['^8.0.0', '^9.0.0', '^10.0.0'],
(moduleExports, moduleVersion) => {
this._diag.debug(
`Applying patch for @cucumber/cucumber/lib/runtime/test_case_runner.js@${moduleVersion}`
Expand Down

0 comments on commit c9c44dd

Please sign in to comment.