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,
|
|
|
|
include: ['**/runtime_tests/lambda/**/*.+(ts|tsx|js)'],
|
2024-06-12 12:25:37 +02:00
|
|
|
exclude: [
|
|
|
|
'**/runtime_tests/lambda/vitest.config.ts',
|
|
|
|
'**/runtime_tests/lambda/mock.ts',
|
|
|
|
'**/runtime_tests/lambda/stream-mock.ts',
|
|
|
|
],
|
2024-05-31 21:17:47 +02:00
|
|
|
coverage: {
|
|
|
|
...config.test?.coverage,
|
|
|
|
reportsDirectory: './coverage/raw/runtime-lambda',
|
|
|
|
},
|
2023-09-08 10:42:28 +02:00
|
|
|
},
|
|
|
|
})
|