From 07f324b278589dce3a16fdac6450214d04914bbd Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Fri, 14 May 2021 18:11:21 +0200 Subject: [PATCH] test: run sequentially (#42132) Running tests in parallel while outputting to a single console can result in confusing output. Results can get interleaved and, more importantly, if one test fails, the rest get killed. This can create unpredictable error messages. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 83149d9103..03dc7e151a 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "start-ci": "npm-run-all ensure-env -p start:server serve:client", "start:server": "cd ./api-server && npm start", "storybook": "cd ./tools/ui-components && npm run storybook", - "test": "npm-run-all ensure-env build:curriculum build-workers -p test:*", + "test": "run-s ensure-env build:curriculum build-workers test:*", "test-curriculum-full-output": "cd ./curriculum && npm run test:full-output", "test:client": "cd ./client && npm test", "test:curriculum": "cd ./curriculum && npm test",