Function swc_ecma_transforms_testing::exec_tr
source · [−]pub fn exec_tr<F, P>(test_name: &str, syntax: Syntax, tr: F, input: &str)where
F: FnOnce(&mut Tester<'_>) -> P,
P: Fold,
Expand description
Execute jest
after transpiling input
using tr
.