Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ http.spec.ts
File
http.spec.ts
packages/vite/src/node/__tests__/http.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
http from
'node:http'
2
import
net from
'node:net'
3
import
{ afterEach, describe, expect, test, vi } from
'vitest'
4
import
{ wildcardHosts } from
'../constants'
Callers
nothing calls this directly
Calls
7
test
Function · 0.90
createSimpleServer
Function · 0.85
has
Method · 0.80
close
Method · 0.65
listen
Method · 0.65
resolve
Function · 0.50
createServer
Function · 0.50
Tested by
no test coverage detected