- Change vitest coverage include from assets/modules/**/*.js to assets/**/*.js Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
316 B
JavaScript
14 lines
316 B
JavaScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'happy-dom',
|
|
include: ['tests/js/**/*.test.js'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['assets/**/*.js'],
|
|
reporter: ['text', 'lcov'],
|
|
},
|
|
},
|
|
})
|