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 cec60ab commit 61caba7Copy full SHA for 61caba7
tests/unit/all.html
@@ -13,7 +13,7 @@
13
<script>
14
(function() {
15
16
- var params = "",
+ var params = [],
17
suites = [
18
"accordion/accordion.html",
19
"accordion/accordion_deprecated.html",
@@ -41,11 +41,15 @@
41
];
42
43
$.each( QUnit.urlParams, function( key, value ) {
44
- params += encodeURIComponent( key ) + "=" + encodeURIComponent( value );
+ if ( key === "filter" ) {
45
+ return;
46
+ }
47
+ params.push( encodeURIComponent( key ) + "=" + encodeURIComponent( value ) );
48
});
- if ( params ) {
49
+ if ( params.length ) {
50
+ params = "?" + params.join( "&" );
51
suites = $.map( suites, function( suite ) {
- return suite + "?" + params;
52
+ return suite + params;
53
54
}
55
QUnit.testSuites( suites );
0 commit comments