mirror of
https://github.com/honojs/hono.git
synced 2024-11-24 19:26:56 +01:00
90259f3acb
* test: use Node.js Native Web APIs instead of miniflare's * `denoify-ignore`
16 lines
404 B
TypeScript
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'],
|
|
},
|
|
},
|
|
})
|