From da44e9d851506c9495b550b8ee6e309a7811320c Mon Sep 17 00:00:00 2001 From: Sagar Rajput Date: Tue, 16 Apr 2024 01:50:53 +0530 Subject: [PATCH] chore: added jest coverage setup - added file directory --- .github/workflows/jest-coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jest-coverage.yml b/.github/workflows/jest-coverage.yml index fa3dca2509..3423b6dee6 100644 --- a/.github/workflows/jest-coverage.yml +++ b/.github/workflows/jest-coverage.yml @@ -20,8 +20,8 @@ jobs: - name: Run Jest with Coverage run: cd frontend | - npx jest --coverage --silent --coverageReporters text --coverageReporters text-summary --changedSince=origin/$BASE_BRANCH --passWithNoTests --listTests - npx jest --coverage --silent --coverageReporters text --coverageReporters json-summary --changedSince=origin/$BASE_BRANCH --passWithNoTests --maxWorkers=5 --ci --testResultsProcessor="jest-junit" + npx test --silent --coverageReporters text --coverageReporters text-summary --changedSince=origin/$BASE_BRANCH --passWithNoTests --listTests + npx test --silent --coverageReporters text --coverageReporters json-summary --changedSince=origin/$BASE_BRANCH --passWithNoTests --maxWorkers=5 --ci --testResultsProcessor="jest-junit" yarn custom-coverage --verbose