Skip to main content

find_integration_violations

Function find_integration_violations 

Source
pub fn find_integration_violations(
    root: impl AsRef<Path>,
) -> Result<Vec<Violation>>
Expand description

Scan the TypeScript test files under root and return every integration-isolation violation, sorted by (file, line) for deterministic output.

A TypeScript test file is *.test.{ts,tsx,mts,cts}. Each is parsed and walked; a file that cannot be read or parsed is an error.