Skip to content

Commit a440788

Browse files
committed
test(plugin-typescript-e2e): update test config
1 parent 16eab1f commit a440788

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

packages/plugin-typescript/vitest.int.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ export default defineConfig({
1616
coverage: {
1717
reporter: ['text', 'lcov'],
1818
reportsDirectory: '../../coverage/plugin-typescript/int-tests',
19-
exclude: ['mocks/**', '**/types.ts'],
19+
exclude: [
20+
'mocks/**',
21+
'**/types.ts',
22+
'**/index.ts',
23+
'vitest.{unit,int}.config.ts',
24+
],
2025
},
2126
environment: 'node',
2227
include: ['src/**/*.int.test.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],

packages/plugin-typescript/vitest.unit.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ export default defineConfig({
1616
coverage: {
1717
reporter: ['text', 'lcov'],
1818
reportsDirectory: '../../coverage/plugin-typescript/unit-tests',
19-
exclude: ['mocks/**', '**/types.ts'],
19+
exclude: [
20+
'mocks/**',
21+
'**/types.ts',
22+
'**/index.ts',
23+
'vitest.{unit,int}.config.ts',
24+
],
2025
},
2126
environment: 'node',
2227
include: ['src/**/*.unit.test.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],

0 commit comments

Comments
 (0)