pub fn replay_mutation(
options: &MutationReplayOptions,
) -> Result<MutationReplayOutput, ProgrammaticError>Expand description
Calls one export of a source file with one input on the original and on one mutant, three times each, in turns, and gives the verdict. It runs project code: the module of the file and each module that it imports.
Each call runs in its own worker with a fresh module instance, a clock
that starts at a fixed time and a fixed seed of Math.random. The whole
request has a wall limit. The
verdict is never equivalent: equal results give no_witness_found.
ยงErrors
Returns an error when the file does not give the mutant, the runtime or the runner is missing, the runner has no replay, or the companion fails.