diff --git a/.circleci/config.yml b/.circleci/config.yml index 3c48e7d34..3049a872a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,7 +48,7 @@ jobs: - image: cimg/node:16.11.0 working_directory: ~/homebrewery - parallelism: 4 + parallelism: 1 steps: - attach_workspace: @@ -61,15 +61,15 @@ jobs: - run: name: Test - Basic command: npm run test:basic - - run: - name: Test - Coverage - command: npm run test:coverage - run: name: Test - Mustache Spans command: npm run test:mustache-span - run: name: Test - Routes command: npm run test:route + - run: + name: Test - Coverage + command: npm run test:coverage workflows: build_and_test: diff --git a/package.json b/package.json index 9353b6509..8e3e49168 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "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:coverage": "jest --coverage --silent --runInBand", "test:dev": "jest --verbose --watch", "test:basic": "jest tests/markdown/basic.test.js --verbose", "test:mustache-span": "jest tests/markdown/mustache-span.test.js --verbose", @@ -37,7 +37,7 @@ "build/*" ], "jest": { - "testTimeout": 15000, + "testTimeout": 30000, "modulePaths": [ "node_modules", "shared",