test: calculate coverage for src files only (#2822)

This commit is contained in:
Marcin Kulpa 2024-10-28 08:31:42 +01:00 committed by GitHub
parent 259c19ff2d
commit 064be30bcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,6 +18,7 @@ export default defineConfig({
dir: 'tests',
reporters: 'basic',
coverage: {
include: ['src/**/'],
reporter: ['text', 'json', 'html', 'text-summary'],
reportsDirectory: './coverage/',
},