swc_core::ecma::transforms::testing

Macro compare_stdout

source
macro_rules! compare_stdout {
    ($syntax:expr, $tr:expr, $test_name:ident, $input:expr) => { ... };
}
Available on crate feature __ecma and (crate features __ecma_transforms or __testing_transform) and crate feature __testing_transform only.
Expand description

Test transformation by invoking it using node. The code must print something to stdout.