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

Function close

playground/ssr-conditions/__tests__/serve.ts:48–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 resolve({
47 // for test teardown
48 async close() {
49 await new Promise((resolve) => {
50 server.close(resolve)
51 })
52 if (vite) {
53 await vite.close()
54 }
55 },
56 })
57 })
58 } catch (e) {

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected