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

Function clear

packages/runner/src/suite.ts:538–541  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

536 }
537
538 function clear() {
539 tasks.length = 0
540 initSuite(false)
541 }
542
543 async function collect(file: File) {
544 if (!file) {

Callers

nothing calls this directly

Calls 1

initSuiteFunction · 0.85

Tested by

no test coverage detected