mirror of
https://github.com/honojs/hono.git
synced 2024-11-24 02:07:30 +01:00
dfbd717263
* chore: rename `runtime_tests` to `runtime-tests` * fixed GitHub workflow
23 lines
558 B
TypeScript
23 lines
558 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/lambda/**/*.+(ts|tsx|js)'],
|
|
exclude: [
|
|
'**/runtime-tests/lambda/vitest.config.ts',
|
|
'**/runtime-tests/lambda/mock.ts',
|
|
'**/runtime-tests/lambda/stream-mock.ts',
|
|
],
|
|
coverage: {
|
|
...config.test?.coverage,
|
|
reportsDirectory: './coverage/raw/runtime-lambda',
|
|
},
|
|
},
|
|
})
|