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

Function fixture

packages/vite/src/node/__tests__/runnerImport.spec.ts:11–12  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

9
10describe('importing files using inlined environment', () => {
11 const fixture = (name: string) =>
12 resolve(import.meta.dirname, './fixtures/runner-import', name)
13
14 test('importing a basic file works', async () => {
15 const { module } = await runnerImport<

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected