19 lines
587 B
JavaScript
19 lines
587 B
JavaScript
import { defineConfig } from 'vitest/config';
|
|
import vue from '@vitejs/plugin-vue';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [vue(), tailwindcss()],
|
|
test: {
|
|
environment: 'happy-dom',
|
|
include: ['tests/js/**/*.test.js'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'html', 'lcov'],
|
|
include: ['resources/js/**/*.{js,vue}'],
|
|
// app.js is framework wiring only (no logic) — disclosed exclusion.
|
|
exclude: ['resources/js/app.js'],
|
|
},
|
|
},
|
|
});
|