MCPcopy
hub / github.com/vitejs/vite / ssrTransform.spec.ts

File ssrTransform.spec.ts

packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { readFileSync } from 'node:fs'
2import { fileURLToPath } from 'node:url'
3import { assert, expect, test } from 'vitest'
4import type { SourceMap } from 'rolldown'

Callers

nothing calls this directly

Calls 10

testFunction · 0.90
ssrTransformFunction · 0.90
transformWithEsbuildFunction · 0.90
ssrTransformSimpleCodeFunction · 0.85
ssrTransformSimpleFunction · 0.85
readFixtureFunction · 0.85
parseMethod · 0.80
ssrLoadModuleMethod · 0.80
transformRequestMethod · 0.65
createServerFunction · 0.50

Tested by

no test coverage detected