MCPcopy
hub / github.com/vitejs/vite / listAssets

Function listAssets

playground/test-utils.ts:217–220  ·  view source on GitHub ↗
(base = '')

Source from the content-addressed store, hash-verified

215}
216
217export function listAssets(base = ''): string[] {
218 const assetsDir = path.join(testDir, 'dist', base, 'assets')
219 return fs.readdirSync(assetsDir)
220}
221
222export function findAssetFile(
223 match: string | RegExp,

Callers 7

legacy.spec.tsFile · 0.85
assets.spec.tsFile · 0.85
ssr-wasm.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…