Skip to content

Commit 6b77846

Browse files
committed
test(instrumentation-winston): Include all versions in coverage
1 parent fcca38a commit 6b77846

File tree

1 file changed

+5
-2
lines changed
  • plugins/node/opentelemetry-instrumentation-winston

1 file changed

+5
-2
lines changed

plugins/node/opentelemetry-instrumentation-winston/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
"types": "build/src/index.d.ts",
77
"repository": "open-telemetry/opentelemetry-js-contrib",
88
"scripts": {
9-
"test": "nyc mocha 'test/**/*.test.ts'",
9+
"test": "npm run test-v1-v2 && npm run test-v3",
10+
"test-v1-v2": "tav winston 2.4.7 npm run test-run",
11+
"test-v3": "tav winston 3.17.0 npm run test-run",
12+
"test-run": "nyc mocha 'test/**/*.test.ts'",
1013
"test-all-versions": "tav",
11-
"tdd": "npm run test -- --watch-extensions ts --watch",
14+
"tdd": "npm run test-run -- --watch-extensions ts --watch",
1215
"clean": "rimraf build/*",
1316
"lint": "eslint . --ext .ts",
1417
"lint:fix": "eslint . --ext .ts --fix",

0 commit comments

Comments
 (0)