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

File hooks.spec.ts

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

Source from the content-addressed store, hash-verified

1import path from 'node:path'
2import { describe, expect, onTestFinished, test, vi } from 'vitest'
3import { build } from '../../build'
4import type { Plugin } from '../../plugin'

Callers

nothing calls this directly

Calls 13

testFunction · 0.90
promiseWithResolversFunction · 0.90
createLoggerFunction · 0.90
resolveConfigWithPluginFunction · 0.85
createServerWithPluginFunction · 0.85
buildWithPluginFunction · 0.85
logErrorFunction · 0.85
transformIndexHtmlMethod · 0.80
resolveMethod · 0.65
transformRequestMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected