0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-21 18:18:57 +01:00
hono/vitest.config.ts
Yusuke Wada 90259f3acb
test: use Node.js Native Web APIs instead of miniflare's (#1558)
* test: use Node.js Native Web APIs instead of miniflare's

* `denoify-ignore`
2023-10-10 21:32:10 +09:00

16 lines
404 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'],
},
},
})