Skip to content

Commit

Permalink
chore(mongodb): make test commands consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDeconinck committed May 11, 2023
1 parent 7d2eead commit e9118d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mongodb:
jobs:
- versions: ">=3.3 <4"
commands: npm run test
commands: npm run test-v3
- versions: ">=4 <5"
commands: npm run test-v4
- versions: ">=5 <6"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"repository": "open-telemetry/opentelemetry-js-contrib",
"scripts": {
"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",
"test": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'",
"test-v3": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'",
"test-v4": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v4.test.ts'",
"test-v5": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v5.test.ts'",
"test-all-versions": "tav",
Expand Down

0 comments on commit e9118d3

Please sign in to comment.