mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
feat(coverage): add prettier idempotency test closes #1329 feat(prettier_conformance): enable TypeScript
12 lines
373 B
Rust
12 lines
373 B
Rust
use pico_args::Arguments;
|
|
|
|
use oxc_prettier_conformance::{TestLanguage, TestRunner, TestRunnerOptions};
|
|
|
|
fn main() {
|
|
let mut args = Arguments::from_env();
|
|
|
|
let options = TestRunnerOptions { filter: args.opt_value_from_str("--filter").unwrap() };
|
|
|
|
TestRunner::new(TestLanguage::Js, options.clone()).run();
|
|
TestRunner::new(TestLanguage::Ts, options).run();
|
|
}
|