diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 0b56be8f..a7228876 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -28,7 +28,7 @@ jobs: run: npm run lint - name: Test #Runs Jest Script - run: npm run test + run: npm run coverage - name: Upload coverage to Codecov #Uploads the coverage report to Codecov uses: codecov/codecov-action@v4-beta diff --git a/package.json b/package.json index 275b9ea4..4f38380e 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,12 @@ "build": "next build", "start": "next start", "lint": "next lint", - "test": "jest --maxWorkers=2 --coverage", + "coverage": "jest --maxWorkers=2 --coverage", + "test": "jest --watch", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "prettier": "npx prettier . --check", - "chromatic": "chromatic --exit-zero-on-changes", - "coverage": "jest --coverage" + "chromatic": "chromatic --exit-zero-on-changes" }, "dependencies": { "@as-integrations/next": "^2.0.2",