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 0ece9fe850a46..289aa8bafdb27 100644 --- a/crates/oxc_transformer/tests/integrations/plugins/replace_global_defines.rs +++ b/crates/oxc_transformer/tests/integrations/plugins/replace_global_defines.rs @@ -241,7 +241,7 @@ console.log( fn test_sourcemap() { let config = ReplaceGlobalDefinesConfig::new(&[ ("__OBJECT__", r#"{"hello": "test"}"#), - ("__STRING__", r#""develoopment""#), + ("__STRING__", r#""development""#), ]) .unwrap(); let source_text = r" diff --git a/crates/oxc_transformer/tests/integrations/plugins/snapshots/integrations__plugins__replace_global_defines__test_sourcemap.snap b/crates/oxc_transformer/tests/integrations/plugins/snapshots/integrations__plugins__replace_global_defines__test_sourcemap.snap index a97c1d73084f9..6e5b0696ada52 100644 --- a/crates/oxc_transformer/tests/integrations/plugins/snapshots/integrations__plugins__replace_global_defines__test_sourcemap.snap +++ b/crates/oxc_transformer/tests/integrations/plugins/snapshots/integrations__plugins__replace_global_defines__test_sourcemap.snap @@ -7,11 +7,11 @@ snapshot_kind: text (0:0) "1;\n" --> (0:0) "1;\n" (1:0) "__OBJECT__;\n" --> (1:0) "({ 'hello': 'test' });\n" (2:0) "2;\n" --> (2:0) "2;\n" -(3:0) "__STRING__;\n" --> (3:0) "'develoopment';\n" +(3:0) "__STRING__;\n" --> (3:0) "'development';\n" (4:0) "3;\n" --> (4:0) "3;\n" (5:0) "log(__OBJECT__)" --> (5:0) "log({ 'hello': 'test' })" (5:15) ";\n" --> (5:24) ";\n" (6:0) "4;\n" --> (6:0) "4;\n" -(7:0) "log(__STRING__)" --> (7:0) "log('develoopment')" -(7:15) ";\n" --> (7:19) ";\n" +(7:0) "log(__STRING__)" --> (7:0) "log('development')" +(7:15) ";\n" --> (7:18) ";\n" (8:0) "5;\n" --> (8:0) "5;\n"