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

Function close

playground/ssr-html/__tests__/serve.ts:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected