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

File watcher.spec.ts

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

Source from the content-addressed store, hash-verified

1import { resolve } from 'node:path'
2import { fileURLToPath } from 'node:url'
3import { afterEach, describe, expect, it, vi } from 'vitest'
4import { type ViteDevServer, createServer } from '../index'

Callers

nothing calls this directly

Calls 4

createServerFunction · 0.90
getWatchedMethod · 0.80
closeMethod · 0.65
resolveFunction · 0.50

Tested by

no test coverage detected