diff --git a/crates/oxc_minifier/src/ast_passes/peephole_minimize_conditions.rs b/crates/oxc_minifier/src/ast_passes/peephole_minimize_conditions.rs index 3595ae1a5..5fd2e468f 100644 --- a/crates/oxc_minifier/src/ast_passes/peephole_minimize_conditions.rs +++ b/crates/oxc_minifier/src/ast_passes/peephole_minimize_conditions.rs @@ -869,24 +869,6 @@ mod test { fold_same("if (f) { f?.['x'](); }"); } - #[test] - #[ignore] - fn test_object_literal() { - test("({})", "1"); - test("({a:1})", "1"); - test_same("({a:foo()})"); - test_same("({'a':foo()})"); - } - - #[test] - #[ignore] - fn test_array_literal() { - test("([])", "1"); - test("([1])", "1"); - test("([a])", "1"); - test_same("([foo()])"); - } - #[test] #[ignore] fn test_remove_else_cause() {