MCPcopy
hub / github.com/vitest-dev/vitest / close

Function close

packages/vitest/src/node/pool.ts:230–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228 runTests: (files, invalidates) => executeTests('run', files, invalidates),
229 collectTests: (files, invalidates) => executeTests('collect', files, invalidates),
230 async close() {
231 await Promise.all([
232 pool.close(),
233 browserPool?.close?.(),
234 ...ctx.projects.map(project => project.typechecker?.stop()),
235 ])
236 },
237 }
238}
239

Callers

nothing calls this directly

Calls 3

allMethod · 0.80
closeMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected