0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 02:27:49 +01:00
hono/vitest.config.ts
2023-09-08 18:10:12 +09:00

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