Skip to content

Commit

Permalink
fix plugin testing
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Sep 26, 2024
1 parent 280dd7c commit 0d94028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/datadog-instrumentations/src/mocha/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const config = {}

addHook({
name: 'mocha',
versions: ['>=5.2.0'],
versions: ['>=8.0.0'],
file: 'lib/mocha.js'
}, (Mocha) => {
shimmer.wrap(Mocha.prototype, 'run', run => function () {
Expand Down
2 changes: 1 addition & 1 deletion packages/dd-trace/test/plugins/externals.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
"mocha": [
{
"name": "mocha",
"versions": [">=5.2.0"]
"versions": [">=5.2.0", ">=8.0.0"]
},
{
"name": "mocha-each",
Expand Down

0 comments on commit 0d94028

Please sign in to comment.