Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ indexHtml.spec.ts
File
indexHtml.spec.ts
packages/vite/src/node/server/middlewares/__tests__/indexHtml.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
fs from
'node:fs'
2
import
path from
'node:path'
3
import
{ describe, expect, onTestFinished, test } from
'vitest'
4
import
{ createServer } from
'../../../server'
Callers
nothing calls this directly
Calls
5
test
Function · 0.90
transformIndexHtml
Method · 0.80
createTestServer
Function · 0.70
resolve
Method · 0.65
transformRequest
Method · 0.65
Tested by
no test coverage detected