MCPcopy
hub / github.com/nuxt-modules/tailwindcss / getVfsFile

Function getVfsFile

test/utils.ts:26–30  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

24}
25
26export const getVfsFile = (name: string) => {
27 const nuxt = useTestContext().nuxt
28 const key = nuxt && Object.keys(nuxt.vfs).find(k => k.endsWith(name))
29 return key && nuxt.vfs[key]
30}

Callers 2

basic.test.tsFile · 0.90
configs.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected