From e1457f9bbf56700b2510d93013e56da822554cdd Mon Sep 17 00:00:00 2001 From: Marten Hennoch Date: Tue, 17 Sep 2024 13:55:10 +0300 Subject: [PATCH] Switch to nodejs runner --- package.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/package.json b/package.json index 1e5c6df4..ed6d61a2 100644 --- a/package.json +++ b/package.json @@ -15,12 +15,7 @@ "lint:fix": "eslint . --ext .ts --fix", "lint": "eslint . --ext .ts", "lint:commits": "commitlint", - "test": "npm run test:unit && npm run test:debug-metrics && npm run test:instrumentations", - "test:unit": "cross-env TEST_ALLOW_DOUBLE_START=y nyc ts-mocha --exclude 'test/instrumentation/external/**/*.test.ts' --exclude 'test/separate_process/*' --timeout 60s --parallel --jobs 8 -p tsconfig.json 'test/**/*.test.ts'", - "unittest": "ts-mocha -p tsconfig.json 'test/api.test.ts'", - "test:unit:node": "cross-env TEST_ALLOW_DOUBLE_START=y glob -c \"node --require ts-node/register/transpile-only --test --test-timeout=10000 \" \"./test/**/*.test.ts\"", - "test:debug-metrics": "nyc --no-clean ts-mocha --timeout 10000 -p tsconfig.json 'test/separate_process/debug_metrics.test.ts'", - "test:instrumentations": "nyc ts-mocha --require test/instrumentation/external/setup.ts --jobs 1 'test/instrumentation/external/**/*.test.ts'", + "test": "cross-env TEST_ALLOW_DOUBLE_START=y glob -c \"node --require ts-node/register/transpile-only --test --test-timeout=50000 \" \"./test/**/*.test.ts\"", "prebuild:current": "node scripts/prebuild-current.js", "prebuild:os": "node scripts/prebuild-os.js", "profile:proto": "pbjs -t static-module -w commonjs -o src/profiling/proto/profile.js protos/pprof/profile.proto",