Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ shortcuts.spec.ts
File
shortcuts.spec.ts
packages/vite/src/node/__tests__/shortcuts.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ Mock } from
'vitest'
2
import
{ describe, expect, test, vi } from
'vitest'
3
import
{ createServer } from
'../server'
4
import
{ preview } from
'../preview'
Callers
nothing calls this directly
Calls
7
createServer
Function · 0.90
preview
Function · 0.90
bindCLIShortcuts
Function · 0.90
test
Function · 0.90
restart
Method · 0.80
close
Method · 0.65
startServer
Function · 0.50
Tested by
no test coverage detected