Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ hostCheck.spec.ts
File
hostCheck.spec.ts
packages/vite/src/node/server/middlewares/__tests__/hostCheck.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ expect, test } from
'vitest'
2
import
{ getAdditionalAllowedHosts } from
'../hostCheck'
3
4
test(
'getAdditionalAllowedHosts'
,
async
() => {
Callers
nothing calls this directly
Calls
2
test
Function · 0.90
getAdditionalAllowedHosts
Function · 0.90
Tested by
no test coverage detected