Macros
Test transformation by invoking it using
node. The code must print
something to stdout.Test transformation.
Test transformation.
Structs
Config for test_fixture. See test_fixture for documentation.
Converts
foo#1 to foo__1 so it can be verified by the test.Functions
Execute
node for input and ensure that it prints same output after
transformation.Execute
jest after transpiling input using tr.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.