0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-25 05:07:03 +01:00
hono/vitest.config.ts

17 lines
454 B
TypeScript
Raw Normal View History

/// <reference types="vitest" />
2023-09-08 11:10:12 +02:00
import { configDefaults, defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
include: ['**/src/**/(*.)+(spec|test).+(ts|tsx|js)'],
exclude: [...configDefaults.exclude, '**/sandbox/**', '**/*.case.test.+(ts|tsx|js)'],
setupFiles: ['./src/test-utils/setup-vitest.ts'],
coverage: {
provider: 'v8',
reporter: ['text'],
},
pool: 'forks',
},
})