Skip to content

Commit c8ec4a3

Browse files
committed
Separated test and test with coverage
1 parent 009d0a6 commit c8ec4a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
8282
- name: "Run tests"
8383
run: |
84-
npm run test:backend
84+
npm run test-coverage:backend
8585
8686
- name: "Upload coverage results"
8787
uses: codecov/codecov-action@v5.1.2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"start": "vite --config frontend.vite.config.ts",
7777
"test:backend": "vitest --config backend.vite.config.ts",
7878
"test:frontend": "nyc --reporter=lcov playwright test",
79-
"test": "run-p -c test:*",
79+
"test-coverage:backend": "vitest run --coverage --config backend.vite.config.ts",
8080
"playwright-interactive": "playwright test --ui"
8181
}
8282
}

0 commit comments

Comments
 (0)