Available on crate feature
__ecma
and (crate features __ecma_transforms
or __testing_transform
) and crate feature __testing_transform
only.Modules§
Macros§
- Test transformation by invoking it using
node
. The code must print something to stdout. - Test transformation.
Structs§
- Config for test_fixture. See test_fixture for documentation.
- Converts
foo#1
tofoo__1
so it can be verified by the test.
Functions§
- Execute
node
forinput
and ensure that it prints same output after transformation. - Execute
jest
after transpilinginput
usingtr
. - Just like babel, walk up the directory tree and find a file named
options.json
. - You can do
UPDATE=1 cargo test
to update fixtures.