chore: update to tap@18

This commit is contained in:
Julien Fontanet 2024-02-01 16:29:02 +01:00
parent e7a97fd175
commit 092475d57f
5 changed files with 36 additions and 545 deletions

View File

@ -20,6 +20,9 @@ function assertListeners(t, event, listeners) {
}
t.beforeEach(function (t) {
// work around https://github.com/tapjs/tapjs/issues/998
t.context = {}
t.context.ee = new EventEmitter()
t.context.em = new EventListenersManager(t.context.ee)
})

View File

@ -38,9 +38,9 @@
"version": "1.0.1",
"scripts": {
"postversion": "npm publish --access public",
"test": "tap --branches=72"
"test": "tap --allow-incomplete-coverage"
},
"devDependencies": {
"tap": "^16.2.0"
"tap": "^18.7.0"
}
}

View File

@ -27,11 +27,11 @@
"xen-api": "^2.0.1"
},
"devDependencies": {
"tap": "^16.3.0",
"tap": "^18.7.0",
"tmp": "^0.2.1"
},
"scripts": {
"postversion": "npm publish --access public",
"test-integration": "tap --lines 97 --functions 95 --branches 74 --statements 97 tests/*.integ.mjs"
"test-integration": "tap --allow-incomplete-coverage"
}
}

View File

@ -52,7 +52,7 @@
"xo-collection": "^0.5.0"
},
"devDependencies": {
"tap": "^16.1.0"
"tap": "^18.7.0"
},
"scripts": {
"plot": "gnuplot -p memory-test.gnu",

568
yarn.lock

File diff suppressed because it is too large Load Diff