Function swc_ecma_transforms_testing::test_fixture

source ·
pub fn test_fixture<P>(
    syntax: Syntax,
    tr: &dyn Fn(&mut Tester<'_>) -> P,
    input: &Path,
    output: &Path,
    config: FixtureTestConfig
)
where P: Fold,
Expand description

You can do UPDATE=1 cargo test to update fixtures.