Skip to content

Commit ef93381

Browse files
committed
chore(examples-plugins): exclude mocks and config from coverage
1 parent 87616b9 commit ef93381

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/plugins/vite.config.integration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default defineConfig({
1616
coverage: {
1717
reporter: ['text', 'lcov'],
1818
reportsDirectory: '../../coverage/examples-plugins/integration-tests',
19+
exclude: ['**/mocks/**', '**/mock/**', 'code-pushup.config.ts'],
1920
},
2021
environment: 'node',
2122
include: ['src/**/*.integration.test.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],

examples/plugins/vite.config.unit.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default defineConfig({
1616
coverage: {
1717
reporter: ['text', 'lcov'],
1818
reportsDirectory: '../../coverage/examples-plugins/unit-tests',
19+
exclude: ['**/mocks/**', '**/mock/**', 'code-pushup.config.ts'],
1920
},
2021
environment: 'node',
2122
include: ['src/**/*.unit.test.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],

0 commit comments

Comments
 (0)