MCPcopy
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

1import http from 'node:http'
2import net from 'node:net'
3import { afterEach, describe, expect, test, vi } from 'vitest'
4import { wildcardHosts } from '../constants'

Callers

nothing calls this directly

Calls 7

testFunction · 0.90
createSimpleServerFunction · 0.85
hasMethod · 0.80
closeMethod · 0.65
listenMethod · 0.65
resolveFunction · 0.50
createServerFunction · 0.50

Tested by

no test coverage detected