Skip to main content

node_coverage

Function node_coverage 

Source
pub fn node_coverage(dir: &Path, m: &Manifest) -> Option<Value>
Expand description

Line coverage of the unit’s files from the V8 coverage Node writes to dir (NODE_V8_COVERAGE). A line counts when it has code; it was reached when any of its code ran in any of the record runs. Files Node transformed (not only stripped of types) are left out, since V8’s offsets then point into the transformed text.