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

Function rerun

packages/vitest/src/api/setup.ts:86–92  ·  view source on GitHub ↗
(files, resetTestNamePattern)

Source from the content-addressed store, hash-verified

84 return fs.writeFile(id, content, 'utf-8')
85 },
86 async rerun(files, resetTestNamePattern) {
87 // silently ignore exec attempts if not allowed
88 if (!ctx.config.api.allowExec) {
89 return
90 }
91 await ctx.rerunFiles(files, undefined, true, resetTestNamePattern)
92 },
93 async rerunTask(id) {
94 // silently ignore exec attempts if not allowed
95 if (!ctx.config.api.allowExec) {

Callers

nothing calls this directly

Calls 1

rerunFilesMethod · 0.80

Tested by

no test coverage detected