chore(minifier): remove duplicate minifier test (#6792)

these tests already exist below (and have been enabled)
34fe7c00a3/crates/oxc_minifier/src/ast_passes/peephole_remove_dead_code.rs (L576-L597)

i suspect this was left in as a copy/pasta error
This commit is contained in:
camc314 2024-10-23 04:07:50 +00:00
parent 718ccded34
commit 7c51b2fd9d

View file

@ -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() {