oxc/tasks/transform_conformance/src/main.rs
Dunqing 843318cdbe
refactor(transformer/typescript): reimplementation of Enum conversion based on Babel (#3102)
The remaining test cases will perform better with a scope
implementation, and while we can implement them without the scope, it
still requires us to do what the scope did.

---------

Co-authored-by: Boshen <boshenc@gmail.com>
2024-04-29 16:26:22 +08:00

13 lines
339 B
Rust

use oxc_transform_conformance::{TestRunner, TestRunnerOptions};
use pico_args::Arguments;
fn main() {
let mut args = Arguments::from_env();
let options = TestRunnerOptions {
filter: args.opt_value_from_str("--filter").unwrap(),
exec: args.contains("--exec"),
};
TestRunner::new(options.clone()).run();
}