mirror of
https://github.com/honojs/hono.git
synced 2024-11-25 13:19:30 +01:00
17 lines
423 B
TypeScript
17 lines
423 B
TypeScript
/// <reference types="vitest" />
|
|
import { configDefaults, defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
include: ['**/src/**/(*.)+(spec|test).+(ts|tsx|js)'],
|
|
exclude: [...configDefaults.exclude, '**/sandbox/**'],
|
|
setupFiles: ['./src/test-utils/setup-vitest.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text'],
|
|
},
|
|
pool: 'forks',
|
|
},
|
|
})
|