mirror of
https://github.com/honojs/hono.git
synced 2024-11-28 00:26:24 +01:00
dfbd717263
* chore: rename `runtime_tests` to `runtime-tests` * fixed GitHub workflow
18 lines
513 B
TypeScript
18 lines
513 B
TypeScript
/// <reference types="vitest" />
|
|
import fastlyCompute from 'vite-plugin-fastly-js-compute'
|
|
import { defineConfig } from 'vitest/config'
|
|
import config from '../../vitest.config'
|
|
|
|
export default defineConfig({
|
|
plugins: [fastlyCompute()],
|
|
test: {
|
|
globals: true,
|
|
include: ['**/runtime-tests/fastly/**/(*.)+(test).+(ts|tsx)'],
|
|
exclude: ['**/runtime-tests/fastly/vitest.config.ts'],
|
|
coverage: {
|
|
...config.test?.coverage,
|
|
reportsDirectory: './coverage/raw/runtime-fastly',
|
|
},
|
|
},
|
|
})
|