pub fn test_fixture<P>(
syntax: Syntax,
tr: &dyn Fn(&mut Tester<'_>) -> P,
input: &Path,
output: &Path,
config: FixtureTestConfig,
)where
P: Pass,
Available on crate feature
__ecma
and (crate features __ecma_transforms
or __testing_transform
) and crate feature __testing_transform
only.Expand description
You can do UPDATE=1 cargo test
to update fixtures.