mirror of
https://github.com/honojs/hono.git
synced 2024-12-01 03:40:50 +01:00
dfbd717263
* chore: rename `runtime_tests` to `runtime-tests` * fixed GitHub workflow
19 lines
450 B
TypeScript
19 lines
450 B
TypeScript
/// <reference types="vitest" />
|
|
import { defineConfig } from 'vitest/config'
|
|
import config from '../../vitest.config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
env: {
|
|
NAME: 'Node',
|
|
},
|
|
globals: true,
|
|
include: ['**/runtime-tests/node/**/*.+(ts|tsx|js)'],
|
|
exclude: ['**/runtime-tests/node/vitest.config.ts'],
|
|
coverage: {
|
|
...config.test?.coverage,
|
|
reportsDirectory: './coverage/raw/runtime-node',
|
|
},
|
|
},
|
|
})
|