Files
emailjs/vitest.config.ts
eleith 1544f0300f style: normalize formatting before adopting Oxfmt
Apply the existing tabs, quotes, semicolon, and line-width conventions across source, tests, examples, documentation, and configuration. Include Oxfmt's parentheses around a conditional type without changing behavior.
2026-10-26 14:49:11 -07:00

25 lines
475 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['src/**/*.test.ts'],
typecheck: {
tsconfig: './tsconfig.modern.json',
},
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
include: ['src/**/*.ts'],
exclude: ['src/**/*.test.ts', 'src/index.ts'],
thresholds: {
functions: 80,
lines: 80,
branches: 80,
statements: 80,
},
},
},
})