Skip to main content

HIT_FUNCTION

Constant HIT_FUNCTION 

Source
pub const HIT_FUNCTION: &str = "__fallow_m_c";
Expand description

The prelude function that reports a hit on the original branch.

The instrumented output calls __fallow_m_c(id) for each mutant of a site before the original branch runs. The function calls globalThis.__fallowMutation.c(id) when the runtime object is set.