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

Function onTestModuleCollected

test/cli/test/reporters/test-run.test.ts:1044–1046  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1042 vitest = ctx
1043 },
1044 onTestModuleCollected() {
1045 vitest.cancelCurrentRun('keyboard-input')
1046 },
1047 onTestRunEnd(_, __, reason_) {
1048 reason = reason_
1049 },

Callers

nothing calls this directly

Calls 1

cancelCurrentRunMethod · 0.80

Tested by

no test coverage detected