Function swc_ecma_transforms_testing::compare_stdout

source ·
pub fn compare_stdout<F, P>(syntax: Syntax, tr: F, input: &str)
where F: FnOnce(&mut Tester<'_>) -> P, P: Fold,
Expand description

Execute node for input and ensure that it prints same output after transformation.