From 132dd459d50f6062eaf80288b3cbfc4b16339cdf Mon Sep 17 00:00:00 2001 From: Kira Muhlbauer Date: Fri, 24 Nov 2023 13:36:08 -0700 Subject: [PATCH] fix tests? --- .circleci/config.yml | 4 +++- app/package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f9593316..101d0a24 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -76,7 +76,9 @@ jobs: JEST_JUNIT_OUTPUT_DIR: ./test-results/ JEST_JUNIT_ADD_FILE_ATTRIBUTE: "true" name: "Run tests" - command: cd app && npm run test + command: cd app && npm run test-ci + - run: + command: ls -a - store_artifacts: path: app/test-results/ - store_test_results: diff --git a/app/package.json b/app/package.json index bd10790c..5fdb1170 100644 --- a/app/package.json +++ b/app/package.json @@ -44,7 +44,7 @@ "eject": "react-scripts eject", "lint": "eslint --fix .", "lint-ci": "eslint --quiet", - "test-ci": "react-scripts test --coverage --reporters=default --reporters=jest-junit" + "test-ci": "jest --runInBand --coverage --reporters=default --reporters=jest-junit" }, "eslintConfig": { "extends": [