Crate swc_ecma_transforms_testing

source ·

Modules§

Macros§

Structs§

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.