Skip to content

Commit

Permalink
chore(transformer): disable snapshot test in miri
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Nov 4, 2024
1 parent 953b051 commit 03a3085
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions crates/oxc_transformer/tests/integrations/es_target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ fn es_target() {
w
});

insta::with_settings!({ prepend_module_to_snapshot => false, snapshot_suffix => "", omit_expression => true }, {
insta::assert_snapshot!("es_target", snapshot);
});
#[cfg(not(miri))]
{
insta::with_settings!({ prepend_module_to_snapshot => false, snapshot_suffix => "", omit_expression => true }, {
insta::assert_snapshot!("es_target", snapshot);
});
}
}

0 comments on commit 03a3085

Please sign in to comment.