Skip to main content

measure_typescript

Function measure_typescript 

Source
pub fn measure_typescript(
    root: &Path,
    exempt: &[String],
    exempt_lines: &BTreeMap<String, BTreeSet<u32>>,
    base: Option<&str>,
    adapter: &Path,
) -> Result<Measurement>
Expand description

Run the bundled TypeScript mutation adapter over the scan path at root and return the Measurement — the TS arm, parity with measure_rust. The adapter runs at the package root and its results are rebased scan-path-relative, so exemption paths match every check.