We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3eb686 commit de4077dCopy full SHA for de4077d
.github/workflows/test.yml
@@ -28,7 +28,7 @@ jobs:
28
no-turbo-cache: 'true'
29
30
- name: Run Test
31
- run: pnpm run test
+ run: pnpm run test --coverage --reporter=junit
32
33
- name: Upload coverage reports to Codecov
34
uses: codecov/codecov-action@v3
vitest.config.ts
@@ -2,15 +2,10 @@ import { defineConfig } from 'vitest/config'
2
3
export default defineConfig({
4
test: {
5
- dir: './src',
6
environment: 'happy-dom',
7
coverage: {
8
- enabled: true,
9
provider: 'istanbul',
10
},
11
- reporters: [
12
- 'junit',
13
- ],
14
outputFile: {
15
junit: './test-reports/junit.xml',
16
0 commit comments