diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 191d470fe..b012a6697 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -23,7 +23,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install - - run: npm test + - run: npm test -- --coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 env: diff --git a/vitest.config.ts b/vitest.config.ts index fe74466eb..d8959d6e1 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -33,10 +33,6 @@ export default defineConfig({ }, }, test: { - coverage: { - all: true, - enabled: true, - }, environment: 'happy-dom', exclude: ['node_modules'], globals: true,