diff --git a/.github/workflows/be-test-report.yml b/.github/workflows/be-test-report.yml index 7abce1cb6..e95c05fda 100644 --- a/.github/workflows/be-test-report.yml +++ b/.github/workflows/be-test-report.yml @@ -33,5 +33,5 @@ jobs: id: coverage with: output: report-markdown - coverage-file: coverage/coverage-final.json + coverage-file: coverage/report.json working-directory: backend diff --git a/backend/package.json b/backend/package.json index 5f239aaf7..f0903d988 100644 --- a/backend/package.json +++ b/backend/package.json @@ -40,7 +40,7 @@ "lint-staged": "lint-staged", "pretest": "docker compose -f test-resources/docker-compose.test.yml up -d", "test": "cross-env NODE_ENV=test jest --testTimeout=10000 --detectOpenHandles", - "test:ci": "npm test -- --watchAll=false --ci --reporters=default --reporters=jest-junit --reporters=github-actions --coverage --testLocationInResults", + "test:ci": "npm test -- --watchAll=false --ci --reporters=default --reporters=jest-junit --reporters=github-actions --coverage --testLocationInResults --outputFile=report.json", "posttest": "docker compose -f test-resources/docker-compose.test.yml down" }, "repository": {