From 3105ee1eac8b697866518faf05983164cd9c4513 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Mon, 13 Mar 2023 14:16:28 -0400 Subject: [PATCH] Run Tests sequentially One possible solution to tests timing out on CI https://jestjs.io/docs/troubleshooting#tests-are-extremely-slow-on-docker-and-or-continuous-integration-ci-server --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 75646fa58..195c83454 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lint:dry": "eslint **/*.{js,jsx}", "circleci": "npm test && eslint **/*.{js,jsx} --max-warnings=0", "verify": "npm run lint && npm test", - "test": "jest", + "test": "jest --runInBand", "test:api-unit": "jest server/*.spec.js --verbose", "test:coverage": "jest --coverage --silent", "test:dev": "jest --verbose --watch",