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

File environment.spec.ts

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

Source from the content-addressed store, hash-verified

1import path from 'node:path'
2import { describe, expect, onTestFinished, test } from 'vitest'
3import type { RolldownOutput } from 'rolldown'
4import { createServer } from '../server'

Callers

nothing calls this directly

Calls 9

testFunction · 0.90
createServerFunction · 0.90
createServerModuleRunnerFunction · 0.90
createBuilderFunction · 0.90
importMethod · 0.80
ssrLoadModuleMethod · 0.80
buildMethod · 0.80
getConfigFunction · 0.70
closeMethod · 0.65

Tested by

no test coverage detected