Skip to content

Commit bbe775d

Browse files
committed
test(instrumentation-generic-pool): Include all versions in coverage
1 parent fcca38a commit bbe775d

File tree

1 file changed

+6
-2
lines changed
  • plugins/node/opentelemetry-instrumentation-generic-pool

1 file changed

+6
-2
lines changed

plugins/node/opentelemetry-instrumentation-generic-pool/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
"types": "build/src/index.d.ts",
77
"repository": "open-telemetry/opentelemetry-js-contrib",
88
"scripts": {
9-
"test": "nyc mocha 'test/**/*.ts'",
10-
"tdd": "yarn test -- --watch-extensions ts --watch",
9+
"test": "npm run test-v2-v2.4 && npm run test-v2.4-v3 && npm run test-v3",
10+
"test-v2-v2.4": "tav generic-pool 2.2.0 npm run test-run",
11+
"test-v2.4-v3": "tav generic-pool 2.5.4 npm run test-run",
12+
"test-v3": "tav generic-pool 3.9.0 npm run test-run",
13+
"test-run": "nyc mocha 'test/**/*.ts'",
14+
"tdd": "yarn test-run -- --watch-extensions ts --watch",
1115
"clean": "rimraf build/*",
1216
"lint": "eslint . --ext .ts",
1317
"lint:fix": "eslint . --ext .ts --fix",

0 commit comments

Comments
 (0)