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

File moduleGraph.spec.ts

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

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest'
2import { EnvironmentModuleGraph } from '../moduleGraph'
3import type { ModuleNode } from '../mixedModuleGraph'
4import { ModuleGraph } from '../mixedModuleGraph'

Callers

nothing calls this directly

Calls 8

addBrowserModuleFunction · 0.85
addServerModuleFunction · 0.85
getBrowserModuleFunction · 0.85
getServerModuleFunction · 0.85
addMethod · 0.80
ensureEntryFromUrlMethod · 0.45
invalidateModuleMethod · 0.45
getModuleByIdMethod · 0.45

Tested by

no test coverage detected