Skip to content

Commit c253a47

Browse files
committed
Merge coverage outputs
1 parent 6e52496 commit c253a47

File tree

1 file changed

+4
-4
lines changed
  • plugins/node/opentelemetry-instrumentation-mongodb

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"repository": "open-telemetry/opentelemetry-js-contrib",
88
"scripts": {
99
"docker:start": "docker run -e MONGODB_DB=opentelemetry-tests -e MONGODB_PORT=27017 -e MONGODB_HOST=127.0.0.1 -p 27017:27017 --rm mongo",
10-
"test": "npm run test-v3 && npm run test-v4 && npm run test-v5-v6",
10+
"test": "npm run test-v3 && npm run test-v4 && npm run test-v5-v6 && nyc merge .nyc_output ./coverage/coverage-final.json",
1111
"test-v3": "tav mongodb 3.7.4 npm run test-v3-run",
1212
"test-v4": "tav mongodb 4.17.0 npm run test-v4-run",
1313
"test-v5-v6": "tav mongodb 6.8.0 npm run test-v5-v6-run",
14-
"test-v3-run": "mocha --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'",
15-
"test-v4-run": "mocha --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5-v6.metrics.test.ts' 'test/**/mongodb-v4.test.ts'",
16-
"test-v5-v6-run": "mocha --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5-v6.metrics.test.ts' 'test/**/mongodb-v5-v6.test.ts'",
14+
"test-v3-run": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'",
15+
"test-v4-run": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5-v6.metrics.test.ts' 'test/**/mongodb-v4.test.ts'",
16+
"test-v5-v6-run": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5-v6.metrics.test.ts' 'test/**/mongodb-v5-v6.test.ts'",
1717
"test-all-versions": "tav",
1818
"tdd": "npm run test-v5-v6-run -- --watch-extensions ts --watch",
1919
"clean": "rimraf build/*",

0 commit comments

Comments
 (0)