diff --git a/crates/oxc_transformer/tests/integrations/plugins/replace_global_defines.rs b/crates/oxc_transformer/tests/integrations/plugins/replace_global_defines.rs index 828c9c9adb413..4086f8495343b 100644 --- a/crates/oxc_transformer/tests/integrations/plugins/replace_global_defines.rs +++ b/crates/oxc_transformer/tests/integrations/plugins/replace_global_defines.rs @@ -283,10 +283,3 @@ log(__MEMBER__); let snapshot = visualizer.into_visualizer_text(); insta::assert_snapshot!("test_sourcemap", snapshot); } - -#[test] -#[should_panic(expected = "")] -fn test_complex() { - let config = ReplaceGlobalDefinesConfig::new(&[("__DEF__", "((() => {})())")]).unwrap(); - test("__DEF__", "1", config.clone()); -}