From f148014a93ca71e76cdf0bf9379774b597d6a452 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Mon, 13 Mar 2023 14:48:10 -0400 Subject: [PATCH] Make coverage command run in sequence too --- .circleci/config.yml | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 780e20b98..3049a872a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 147dbcbdc..8ab17fa08 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "verify": "npm run lint && npm test", "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",