0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 19:44:26 +01:00
hono/runtime_tests/lambda/vitest.config.ts
Markus Wolf a2a04a98a1
fix(aws-lambda): handle multiple cookies in streaming responses (#2926)
* fix: handle multiple cookies in streaming responses

This fix does address that cookies have to be handled
specially in lambda responses.

Fixes #2921

* test: check cookie handling
2024-06-12 19:25:37 +09:00

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',
},
},
})