MCPcopy
hub / github.com/vitejs/vite / server-runtime.spec.ts

File server-runtime.spec.ts

packages/vite/src/node/ssr/runtime/__tests__/server-runtime.spec.ts:None–None  ·  packages/vite/src/node/ssr/runtime/__tests__/server-runtime.spec.ts

Source from the content-addressed store, hash-verified

1import { existsSync, readdirSync } from class="st">'node:fs'
2import { posix, resolve, win32 } from class="st">'node:path'
3import { fileURLToPath } from class="st">'node:url'
4import { setTimeout } from class="st">'node:timers/promises'

Callers

nothing calls this directly

Calls 12

createModuleRunnerTesterFunction · 0.90
createServerFunction · 0.90
isRunnableDevEnvironmentFunction · 0.90
importMethod · 0.80
ssrLoadModuleMethod · 0.80
sendMethod · 0.65
closeMethod · 0.65
fnFunction · 0.50
resolveFunction · 0.50
invalidateAllMethod · 0.45
getModuleByIdMethod · 0.45
getModuleByUrlMethod · 0.45

Tested by

no test coverage detected