import { defineConfig } from 'vitest/config';
export default defineConfig({
  test: {
    include: ['tests/scenarios.test.js'],
    environment: 'jsdom',
    restoreMocks: true,
    testTimeout: 5000,
    coverage: {
      provider: 'v8', include: ['public/model.js'],
      reporter: ['text', 'json-summary', 'json', 'html'],
      reportsDirectory: 'reports/coverage',
      thresholds: { statements: 65, branches: 55, functions: 80, lines: 65 }
    }
  }
});
