Function swc_core::testing_transform::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,
Available on crate feature
__testing_transform
only.