Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,44 +25,44 @@
"services": "node ./scripts/install_plugin_modules && node packages/dd-trace/test/setup/services",
"test": "echo '\nError: The root \"npm test\" command is intentionally disabled.\n\nInstead, run specific test suites:\n - npm run test:trace:core\n - npm run test:appsec\n - etc.\n\nOr run individual test files:\n npx mocha path/to/test.spec.js\n\nSee CONTRIBUTING.md (Testing section) for more details.\n' && exit 1",
"test:aiguard": "mocha packages/dd-trace/test/aiguard/**/*.spec.js",
"test:aiguard:ci": "nyc -- npm run test:aiguard",
"test:aiguard:ci": "nyc --silent node init && nyc -- npm run test:aiguard",
"test:appsec": "mocha --exclude \"packages/dd-trace/test/appsec/**/*.plugin.spec.js\" \"packages/dd-trace/test/appsec/**/*.spec.js\"",
"test:appsec:ci": "nyc -- npm run test:appsec",
"test:appsec:ci": "nyc --silent node init && nyc -- npm run test:appsec",
"test:appsec:plugins": "mocha \"packages/dd-trace/test/appsec/**/*.@(${PLUGINS}).plugin.spec.js\"",
"test:appsec:plugins:ci": "yarn services && nyc -- npm run test:appsec:plugins",
"test:appsec:plugins:ci": "yarn services && nyc --silent node init && nyc -- npm run test:appsec:plugins",
"test:debugger": "mocha packages/dd-trace/test/debugger/**/*.spec.js",
"test:debugger:ci": "nyc -- npm run test:debugger",
"test:debugger:ci": "nyc --silent node init && nyc -- npm run test:debugger",
"test:eslint-rules": "node eslint-rules/*.test.mjs",
"test:trace:core": "node scripts/mocha-parallel-files.js --expose-gc --timeout 30000 -- \"packages/dd-trace/test/*.spec.js\" \"packages/dd-trace/test/{agent,ci-visibility,config,crashtracking,datastreams,encode,exporters,msgpack,opentelemetry,opentracing,payload-tagging,plugins,remote_config,service-naming,standalone,telemetry,external-logger}/**/*.spec.js\"",
"test:trace:core:ci": "nyc -- npm run test:trace:core",
"test:trace:core:ci": "nyc --silent node init && nyc -- npm run test:trace:core",
"test:trace:guardrails": "mocha packages/dd-trace/test/guardrails/**/*.spec.js",
"test:trace:guardrails:ci": "nyc -- npm run test:trace:guardrails",
"test:trace:guardrails:ci": "nyc --silent node init && nyc -- npm run test:trace:guardrails",
"test:esbuild": "mocha packages/datadog-esbuild/test/**/*.spec.js",
"test:esbuild:ci": "nyc -- npm run test:esbuild",
"test:esbuild:ci": "nyc --silent node init && nyc -- npm run test:esbuild",
"test:webpack": "mocha packages/datadog-webpack/test/**/*.spec.js",
"test:webpack:ci": "nyc -- npm run test:webpack",
"test:webpack:ci": "nyc --silent node init && nyc -- npm run test:webpack",
"test:instrumentations": "mocha \"packages/datadog-instrumentations/test/@(${PLUGINS}).spec.js\"",
"test:instrumentations:ci": "yarn services && nyc -- npm run test:instrumentations",
"test:instrumentations:ci": "yarn services && nyc --silent node init && nyc -- npm run test:instrumentations",
"test:instrumentations:misc": "mocha packages/datadog-instrumentations/test/*/**/*.spec.js",
"test:instrumentations:misc:ci": "nyc -- npm run test:instrumentations:misc",
"test:instrumentations:misc:ci": "nyc --silent node init && nyc -- npm run test:instrumentations:misc",
"test:core": "node scripts/mocha-parallel-files.js --expose-gc --timeout 30000 -- packages/datadog-core/test/**/*.spec.js",
"test:core:ci": "nyc -- npm run test:core",
"test:core:ci": "nyc --silent node init && nyc -- npm run test:core",
"test:code-origin": "mocha packages/datadog-code-origin/test/**/*.spec.js",
"test:code-origin:ci": "nyc -- npm run test:code-origin",
"test:code-origin:ci": "nyc --silent node init && nyc -- npm run test:code-origin",
"test:lambda": "mocha packages/dd-trace/test/lambda/**/*.spec.js",
"test:lambda:ci": "nyc -- npm run test:lambda",
"test:lambda:ci": "nyc --silent node init && nyc -- npm run test:lambda",
"test:llmobs:sdk": "mocha --exclude \"packages/dd-trace/test/llmobs/plugins/**/*.spec.js\" \"packages/dd-trace/test/llmobs/**/*.spec.js\"",
"test:llmobs:sdk:ci": "nyc -- npm run test:llmobs:sdk",
"test:llmobs:sdk:ci": "nyc --silent node init && nyc -- npm run test:llmobs:sdk",
"test:llmobs:plugins": "mocha \"packages/dd-trace/test/llmobs/plugins/@(${PLUGINS})/*.spec.js\"",
"test:llmobs:plugins:ci": "yarn services && nyc -- npm run test:llmobs:plugins",
"test:llmobs:plugins:ci": "yarn services && nyc --silent node init && nyc -- npm run test:llmobs:plugins",
"test:openfeature": "mocha packages/dd-trace/test/openfeature/**/*.spec.js",
"test:openfeature:ci": "nyc -- npm run test:openfeature",
"test:openfeature:ci": "nyc --silent node init && nyc -- npm run test:openfeature",
"test:plugins": "node --expose-gc ./node_modules/mocha/bin/mocha.js \"packages/datadog-plugin-@(${PLUGINS})/test/**/${SPEC:-*}*.spec.js\"",
"test:plugins:ci": "yarn services && nyc -- npm run test:plugins",
"test:plugins:ci:flaky": "yarn services && nyc -- npm run test:plugins -- --bail --retries 2",
"test:plugins:ci": "yarn services && nyc --silent node init && nyc -- npm run test:plugins",
"test:plugins:ci:flaky": "yarn services && nyc --silent node init && nyc -- npm run test:plugins -- --bail --retries 2",
"test:plugins:upstream": "node ./packages/dd-trace/test/plugins/suite.js",
"test:profiler": "node scripts/mocha-parallel-files.js --expose-gc --timeout 30000 -- packages/dd-trace/test/profiling/**/*.spec.js",
"test:profiler:ci": "nyc -- npm run test:profiler",
"test:profiler:ci": "nyc --silent node init && nyc -- npm run test:profiler",
"test:integration": "mocha --timeout 60000 \"integration-tests/*.spec.js\"",
"test:integration:aiguard": "mocha --timeout 60000 \"integration-tests/aiguard/*.spec.js\"",
"test:integration:appsec": "mocha --timeout 60000 \"integration-tests/appsec/*.spec.js\"",
Expand All @@ -83,7 +83,7 @@
"test:integration:plugins": "mocha \"packages/datadog-plugin-@(${PLUGINS})/test/integration-test/**/*.spec.js\"",
"test:unit:plugins": "mocha \"packages/datadog-instrumentations/test/@(${PLUGINS}).spec.js\" \"packages/datadog-plugin-@(${PLUGINS})/test/**/*.spec.js\" --exclude \"packages/datadog-plugin-@(${PLUGINS})/test/integration-test/**/*.spec.js\"",
"test:shimmer": "mocha \"packages/datadog-shimmer/test/**/*.spec.js\"",
"test:shimmer:ci": "nyc -- npm run test:shimmer",
"test:shimmer:ci": "nyc --silent node init && nyc -- npm run test:shimmer",
"verify:workflow-job-names": "node scripts/verify-workflow-job-names.js",
"verify-exercised-tests": "node scripts/verify-exercised-tests.js"
},
Expand Down
Loading