0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 11:17:33 +01:00
hono/vitest.config.ts

16 lines
404 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)'],
2023-09-08 11:10:12 +02:00
exclude: [...configDefaults.exclude, '**/sandbox/**'],
setupFiles: ['./src/test-utils/setup-vitest.ts'],
coverage: {
provider: 'v8',
reporter: ['text'],
},
},
})