Skip to content

Commit dc34ac7

Browse files
committed
test(node-runtime-worker-thread): Stream logs and log when exiting to get a better picture of what's goin on
1 parent 08eaa8f commit dc34ac7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"posttest-ci": "npm run clear-mlaunch -- --killAllMongod",
2929
"posttest-e2e-ci": "npm run clear-mlaunch -- --killAllMongod",
3030
"test": "rimraf .nyc_output && lerna exec -- nyc --no-clean --cwd ../.. --reporter=none npm run test && npm run report-coverage",
31-
"test-ci": "rimraf .nyc_output && lerna exec -- nyc --no-clean --cwd ../.. --reporter=none npm run test-ci && npm run report-coverage",
31+
"test-ci": "rimraf .nyc_output && lerna exec --stream -- nyc --no-clean --cwd ../.. --reporter=none npm run test-ci && npm run report-coverage",
3232
"test-e2e": "lerna run --stream test-e2e",
3333
"test-e2e-ci": "lerna run --stream test-e2e-ci",
3434
"test-connectivity": "lerna run --stream test-connectivity",

packages/node-runtime-worker-thread/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
"scripts": {
2020
"pretest": "npm run webpack-build-dev -- --no-stats --no-devtool",
2121
"test": "cross-env TS_NODE_PROJECT=./tsconfig.test.json mocha --timeout 15000 --colors -r ts-node/register \"./src/**/*.spec.ts\"",
22+
"posttest": "echo 'We are done with the tests'",
2223
"pretest-ci": "npm run webpack-build -- --no-stats --no-devtool",
2324
"test-ci": "cross-env TS_NODE_PROJECT=./tsconfig.test.json mocha --timeout 15000 -r ts-node/register \"./src/**/*.spec.ts\"",
25+
"posttest-ci": "echo 'We are done with the tests'",
2426
"lint": "eslint \"./src/**/*.{js,ts,tsx}\"",
2527
"check": "npm run lint",
2628
"webpack-build": "webpack --mode production",

0 commit comments

Comments
 (0)