ci(coverage): include all files in coverage reports
Add the 'all' option to the coverage configuration to ensure that all files are included in the coverage reports. This improves the accuracy of the coverage metrics by encompassing all relevant source files.
This commit is contained in:
+2
-5
@@ -15,12 +15,9 @@ export default defineConfig({
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'json', 'html', 'lcov'],
|
||||
all: true,
|
||||
include: [
|
||||
'app/utils/**/*.{ts,js}',
|
||||
'app/components/**/*.vue',
|
||||
'app/composables/**/*.{ts,js}',
|
||||
'app/hooks/**/*.{ts,js}',
|
||||
'app/store/**/*.{ts,js}',
|
||||
'app/**/*.{ts,js,vue}',
|
||||
],
|
||||
exclude: [
|
||||
'app/graphql/generated.ts', // GraphQL generated code
|
||||
|
||||
Reference in New Issue
Block a user