swc_core::ecma::transforms::testing

Macro test

source
macro_rules! test {
    (ignore, $syntax:expr, $tr:expr, $test_name:ident, $input:expr) => { ... };
    ($syntax:expr, $tr:expr, $test_name:ident, $input:expr) => { ... };
    (module, $syntax:expr, $tr:expr, $test_name:ident, $input:expr) => { ... };
    (script, $syntax:expr, $tr:expr, $test_name:ident, $input:expr) => { ... };
    ($syntax:expr, $tr:expr, $test_name:ident, $input:expr, ok_if_code_eq) => { ... };
}
Available on crate feature __ecma and (crate features __ecma_transforms or __testing_transform) and crate feature __testing_transform only.