From 73fc0e25772440156ef11a46490d7b5bb374fddc Mon Sep 17 00:00:00 2001 From: overlookmotel Date: Fri, 13 Dec 2024 11:25:20 +0000 Subject: [PATCH] test(transformer/replace-global-defines): remove panicking test --- .../tests/integrations/plugins/replace_global_defines.rs | 7 ------- 1 file changed, 7 deletions(-) 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 828c9c9adb4133..4086f8495343b5 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()); -}