0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-21 18:18:57 +01:00
hono/vitest.config.ts

16 lines
380 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/**'],
environment: 'miniflare',
coverage: {
provider: 'v8',
reporter: ['text'],
},
},
})