There was an error while loading. Please reload this page.
1 parent f5ae353 commit 574dcacCopy full SHA for 574dcac
1 file changed
packages/datadog-instrumentations/src/vitest.js
@@ -493,23 +493,12 @@ function wrapTinyPoolRun (TinyPool) {
493
addHook({
494
name: 'tinypool',
495
// 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',
+ versions: ['>=0.8.0'],
498
}, (TinyPool) => {
499
wrapTinyPoolRun(TinyPool)
500
return TinyPool
501
})
502
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
513
function getWrappedOn (on) {
514
return function (event, callback) {
515
if (event !== 'message') {
0 commit comments