Skip to content

runMutation

runMutation(request, deps): Promise<IMutationOutcome>

Run one mutation check to its verdict: a whole-package run (held to the baseline when the target has a ratchet) or, with changed, a run over the lines changed since the merge base with baseRef. Never throws for a run that went wrong: that is a failed or blocked verdict.

IMutationRequest

IMutationDeps

Promise<IMutationOutcome>