Function swc_ecma_transforms_testing::test_transform

source ·
pub fn test_transform<F, P>(
    syntax: Syntax,
    tr: F,
    input: &str,
    expected: &str,
    _always_ok_if_code_eq: bool
)
where F: FnOnce(&mut Tester<'_>) -> P, P: Fold,