preflight
preflight(
config,installed):IMutationVerdict|null
Why a Stryker config cannot be run as it stands, or null when it can.
Under an isolated install (pnpm and the like) Stryker cannot discover its
plugins (it scans a node_modules nothing is hoisted into), so the config has
to name the runner plugin for its testRunner (command is built into core
and needs none); one that does not is a broken config, failed. A plugin the
config names that is not installed is blocked: an install is missing, not
the check. The JSON reporter has to be on, with a file name, since that
report is what the run is judged from.
Parameters
Section titled “Parameters”config
Section titled “config”installed
Section titled “installed”(name) => boolean
Returns
Section titled “Returns”IMutationVerdict | null