0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 10:51:01 +00:00
hono/vitest.config.ts

16 lines
404 B
TypeScript
Raw Normal View History

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