Debian Codegraph @

tests/unit/subsuite.js

raw symbols SCIP
1 ( function() {
2 "use strict";
3
4 var versions = [
5 "1.12.4",
6 "2.2.4",
7 "3.0.0",
8 "3.1.0", "3.1.1",
9 "3.2.0", "3.2.1",
10 "3.3.0", "3.3.1",
11 "3.4.0", "3.4.1",
12 "3.5.0", "3.5.1",
13 "3.6.0", "3.6.1", "3.6.2", "3.6.3", "3.6.4",
14 "3.7.0", "3.7.1",
15 "4.0.0",
16 "3.x-git", "git", "custom"
17 ],
18 additionalTests = {
19
20 // component: [ "other_test.html" ]
21 };
22
23 window.testAllVersions = function( widget ) {
24 QUnit.testSuites( $.map(
25 [ widget + ".html" ].concat( additionalTests[ widget ] || [] ),
26 function( test ) {
27 return $.map( versions, function( version ) {
28 return test + "?jquery=" + version;
29 } );
30 } ) );
31 };
32
33 } )();