mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
7 lines
210 B
TypeScript
7 lines
210 B
TypeScript
import { expect, test } from 'vitest'
|
|
|
|
test('server headers from inline project config', async () => {
|
|
const res = await fetch('/')
|
|
expect(res.headers.get('x-inline-project')).toBe('from-inline-config')
|
|
})
|