Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 432eb71 commit b8aa830Copy full SHA for b8aa830
src/Symfony/Component/AssetMapper/Tests/Compiler/JavaScriptImportPathCompilerTest.php
@@ -279,6 +279,15 @@ public static function provideCompileTests(): iterable
279
'expectedJavaScriptImports' => [],
280
];
281
282
+ yield 'import_in_double_quoted_string_with_escaped_quote_is_ignored' => [
283
+ 'input' => <<<EOF
284
+ const fun;
285
+ console.log(" foo \" import('./foo.js')");
286
+ EOF
287
+ ,
288
+ 'expectedJavaScriptImports' => [],
289
+ ];
290
+
291
yield 'import_in_single_quoted_string_is_ignored' => [
292
'input' => <<<EOF
293
const fun;
0 commit comments