Skip to content

Commit 574dcac

Browse files
committed
fixup!
1 parent f5ae353 commit 574dcac

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

  • packages/datadog-instrumentations/src

packages/datadog-instrumentations/src/vitest.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -493,23 +493,12 @@ function wrapTinyPoolRun (TinyPool) {
493493
addHook({
494494
name: 'tinypool',
495495
// version from tinypool@0.8 was used in vitest@1.6.0
496-
versions: ['>=0.8.0 <1.0.0'],
497-
file: 'dist/esm/index.js',
496+
versions: ['>=0.8.0'],
498497
}, (TinyPool) => {
499498
wrapTinyPoolRun(TinyPool)
500499
return TinyPool
501500
})
502501

503-
addHook({
504-
name: 'tinypool',
505-
versions: ['>=1.0.0'],
506-
file: 'dist/index.js',
507-
}, (TinyPool) => {
508-
wrapTinyPoolRun(TinyPool)
509-
510-
return TinyPool
511-
})
512-
513502
function getWrappedOn (on) {
514503
return function (event, callback) {
515504
if (event !== 'message') {

0 commit comments

Comments
 (0)