Skip to content

Commit 01621a4

Browse files
committed
chore: Removes coverage reporting as it does not work with CJS
1 parent a19b042 commit 01621a4

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.github/workflows/test.yml

-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ jobs:
1111
- uses: actions/setup-node@v4
1212
- run: npm ci
1313
- run: npm run test:ci
14-
- name: 'Report Coverage'
15-
if: always() # Also generate the report if tests are failing
16-
uses: davelosert/vitest-coverage-report-action@v2

vitest.config.js vitest.config.mjs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import { defineConfig } from 'vite';
1+
import { defineConfig } from 'vitest/config'
22

33
export default defineConfig({
44

55
test: {
66
coverage: {
7-
provider: 'v8',
8-
include: ['lib/**/*.js'],
9-
exclude: ['lib/**/*.test.js'],
107
// you can include other reporters, but 'json-summary' is required, json is recommended
118
reporter: ['text', 'json-summary', 'json'],
129
}

0 commit comments

Comments
 (0)