Skip to content

Commit 9f65af1

Browse files
authored
test: run preview.headers test (#11315)
1 parent 388adf5 commit 9f65af1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

playground/fs-serve/__tests__/fs-serve.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ describe.runIf(isServe)('main', () => {
100100
})
101101

102102
describe('fetch', () => {
103-
// Note: this should pass in build too, but the test setup doesn't use Vite preview
104-
test.runIf(isServe)('serve with configured headers', async () => {
103+
test('serve with configured headers', async () => {
105104
const res = await fetch(viteTestUrl + '/src/')
106105
expect(res.headers.get('x-served-by')).toBe('vite')
107106
})

0 commit comments

Comments
 (0)