From e1752fb29354555ee7b61a6fac33883b1f863997 Mon Sep 17 00:00:00 2001 From: IWANABETHATGUY Date: Wed, 21 Aug 2024 21:22:48 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20adding=20more=20unmatch?= =?UTF-8?q?=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/oxc_minifier/tests/plugins/replace_global_defines.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/oxc_minifier/tests/plugins/replace_global_defines.rs b/crates/oxc_minifier/tests/plugins/replace_global_defines.rs index e44061de72080..e41509872987c 100644 --- a/crates/oxc_minifier/tests/plugins/replace_global_defines.rs +++ b/crates/oxc_minifier/tests/plugins/replace_global_defines.rs @@ -62,6 +62,9 @@ fn replace_global_definitions_dot_with_postfix_mixed() { ]) .unwrap(); test("import.meta.env.result", "undefined", config.clone()); - test("import.meta.env", "env", config); + test("import.meta.env.result.many.nested", "undefined", config.clone()); + test("import.meta.env", "env", config.clone()); + test("import.meta.somethingelse", "import.meta.somethingelse", config.clone()); + test("import.meta", "import.meta", config); } }