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

Function close

playground/ssr-deps/__tests__/serve.ts:21–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 resolve({
20 // for test teardown
21 async close() {
22 await new Promise((resolve) => {
23 server.close(resolve)
24 })
25 if (vite) {
26 await vite.close()
27 }
28 },
29 })
30 })
31 } catch (e) {

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected