Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ utils.spec.ts
File
utils.spec.ts
packages/vite/src/node/__tests__/utils.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
crypto from
'node:crypto'
4
import
{ describe, expect, test } from
'vitest'
Callers
nothing calls this directly
Calls
15
test
Function · 0.90
isParentDirectory
Function · 0.90
injectQuery
Function · 0.90
getLocalhostAddressIfDiffersFromDNS
Function · 0.90
resolveHostname
Function · 0.90
extractHostnamesFromSubjectAltName
Function · 0.90
posToNumber
Function · 0.90
numberToPos
Function · 0.90
generateCodeFrame
Function · 0.90
getHash
Function · 0.90
asyncFlatten
Function · 0.90
isFileReadable
Function · 0.90
Tested by
no test coverage detected