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

Function close

playground/ssr/__tests__/serve.ts:27–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 resolve({
26 // for test teardown
27 async close() {
28 await new Promise((resolve) => {
29 server.close(resolve)
30 })
31 if (vite) {
32 await vite.close()
33 }
34 },
35 })
36 })
37 } catch (e) {

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected