Skip to content

Commit

Permalink
refactor(transformer): fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Jun 10, 2024
1 parent d65202d commit 4f69a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_transformer/src/options/transformer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ fn report_error(name: &str, err: &serde_json::Error, is_preset: bool, errors: &m
#[test]
fn test_deny_unknown_fields() {
let options = serde_json::json!({
"plugins": [["transform-react-jsx", { "runtime": "automatic", "filter": 1 }]],
"sourceType": "module"
"plugins": [["transform-react-jsx", { "runtime": "automatic", "filter": 1 }]],
"sourceType": "module"
});
let babel_options = serde_json::from_value::<BabelOptions>(options).unwrap();
let result = TransformOptions::from_babel_options(&babel_options);
Expand Down

0 comments on commit 4f69a76

Please sign in to comment.