Function swc_core::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
)
Available on crate feature
__ecma
and (crate features __ecma_transforms
or __testing_transform
) and crate feature __testing_transform
only.