Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
path from
'node:path'
2
import
{ describe, expect, onTestFinished, test, vi } from
'vitest'
3
import
{ build } from
'../../build'
4
import
type
{ Plugin } from
'../../plugin'
Callers
nothing calls this directly
Calls
13
test
Function · 0.90
promiseWithResolvers
Function · 0.90
createLogger
Function · 0.90
resolveConfigWithPlugin
Function · 0.85
createServerWithPlugin
Function · 0.85
createPreviewServerWithPlugin
Function · 0.85
buildWithPlugin
Function · 0.85
logError
Function · 0.85
transformIndexHtml
Method · 0.80
resolve
Method · 0.65
transformRequest
Method · 0.65
close
Method · 0.65
Tested by
no test coverage detected