From 649f3602994464d627d58d27e522e1b73834ad8e Mon Sep 17 00:00:00 2001 From: Verus20 Date: Sat, 17 Aug 2024 11:18:26 -0700 Subject: [PATCH] change coverage commands to jest --- .github/workflows/codecov.yaml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 0a33750b..d6acb6c9 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -24,7 +24,7 @@ jobs: - name: Install CI dependencies run: npm ci - name: Run unit tests with code coverage - run: npm run ts-coverage + run: npm run coverage - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: diff --git a/package.json b/package.json index e90d9677..ae4f11d0 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ }, "scripts": { "test": "jest test", + "coverage": "jest --coverage", "ts-coverage": "typescript-coverage-report", "server": "npx ts-node src/server/server.ts" },