import { defineConfig } from 'vitest/config'

export default defineConfig({
    test: {
        environment: 'happy-dom',
        include: ['tests/js/**/*.test.js'],
        coverage: {
            provider: 'v8',
            include: ['assets/**/*.js'],
            exclude: ['assets/modules/event-map.js', 'assets/modules/billet-designer.js', 'assets/modules/stripe-payment.js'],
            reporter: ['text', 'lcov'],
        },
    },
})
