MCPcopy
hub / github.com/vitest-dev/vitest / getModuleGraph

Function getModuleGraph

packages/vitest/src/api/setup.ts:158–160  ·  view source on GitHub ↗
(project, id, browser)

Source from the content-addressed store, hash-verified

156 return result
157 },
158 async getModuleGraph(project, id, browser): Promise<ModuleGraphData> {
159 return getModuleGraph(ctx, project, id, browser)
160 },
161 async updateSnapshot(file?: File) {
162 // silently ignore exec/write attempts if not allowed
163 // this function both executes the code and write snapshots

Callers

nothing calls this directly

Calls 1

getModuleGraphFunction · 0.90

Tested by

no test coverage detected