|
7 | 7 | "repository": "open-telemetry/opentelemetry-js-contrib", |
8 | 8 | "scripts": { |
9 | 9 | "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", |
11 | 11 | "test-v3": "tav mongodb 3.7.4 npm run test-v3-run", |
12 | 12 | "test-v4": "tav mongodb 4.17.0 npm run test-v4-run", |
13 | 13 | "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'", |
17 | 17 | "test-all-versions": "tav", |
18 | 18 | "tdd": "npm run test-v5-v6-run -- --watch-extensions ts --watch", |
19 | 19 | "clean": "rimraf build/*", |
|
0 commit comments