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 5aca585 commit 8698886Copy full SHA for 8698886
Tests/Unit/ResourceMatcherTest.php
@@ -29,6 +29,16 @@ public function matchDataProvider()
29
['https://www.example.com/myfile.js'],
30
[]
31
],
32
+ 'simple script tag with parameter' => [
33
+ '<script src="https://www.example.com/myfile.js?foo" />',
34
+ ['https://www.example.com/myfile.js?foo'],
35
+ []
36
+ ],
37
+ 'simple script tag with parameter and value' => [
38
+ '<script src="https://www.example.com/myfile.js?foo=bar" />',
39
+ ['https://www.example.com/myfile.js?foo=bar'],
40
41
42
'multiple script tags' => [
43
'<script src="https://www.example.com/myfile.js" /><link><script src="/myfile.js"></script>',
44
['https://www.example.com/myfile.js', '/myfile.js'],
0 commit comments