2023-09-08 10:42:28 +02:00
|
|
|
/// <reference types="vitest" />
|
|
|
|
import { defineConfig } from 'vitest/config'
|
2024-05-31 21:17:47 +02:00
|
|
|
import config from '../../vitest.config'
|
2023-09-08 10:42:28 +02:00
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
test: {
|
2024-01-23 09:07:31 +01:00
|
|
|
env: {
|
|
|
|
NAME: 'Node',
|
|
|
|
},
|
2023-09-08 10:42:28 +02:00
|
|
|
globals: true,
|
2024-09-17 07:51:43 +02:00
|
|
|
include: ['**/runtime-tests/lambda-edge/**/*.+(ts|tsx|js)'],
|
|
|
|
exclude: ['**/runtime-tests/lambda-edge/vitest.config.ts'],
|
2024-05-31 21:17:47 +02:00
|
|
|
coverage: {
|
|
|
|
...config.test?.coverage,
|
|
|
|
reportsDirectory: './coverage/raw/runtime-lambda-edge',
|
|
|
|
},
|
2023-09-08 10:42:28 +02:00
|
|
|
},
|
|
|
|
})
|