MCPcopy
hub / github.com/vitejs/vite / close

Function close

playground/ssr-noexternal/__tests__/serve.ts:38–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 resolve({
37 // for test teardown
38 async close() {
39 await new Promise((resolve) => {
40 server.close(resolve)
41 })
42 if (vite) {
43 await vite.close()
44 }
45 },
46 })
47 })
48 } catch (e) {

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected