Skip to content

Commit 9e7e7ff

Browse files
onurtemizkanpichlermarcblumamir
authored
test(instrumentation-winston): Include all versions in coverage (#2684)
Co-authored-by: Marc Pichler <[email protected]> Co-authored-by: Amir Blum <[email protected]>
1 parent 675ec97 commit 9e7e7ff

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 && nyc merge .nyc_output ./coverage/coverage-final.json",
10+
"test-v1-v2": "tav winston 2.4.7 npm run test-run",
11+
"test-v3": "npm run test-run",
12+
"test-run": "nyc --no-clean 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)