MCPcopy
hub / github.com/vitejs/vite / client-reload.spec.ts

File client-reload.spec.ts

playground/client-reload/__tests__/client-reload.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import path from 'node:path'
2import { type ServerOptions, type ViteDevServer, createServer } from 'vite'
3import { afterEach, describe, expect, test } from 'vitest'
4import { hmrPorts, isServe, page, ports } from '~utils'

Callers

nothing calls this directly

Calls 3

testFunction · 0.90
testClientReloadFunction · 0.85
closeMethod · 0.65

Tested by

no test coverage detected