Skip to content

Commit 3651d44

Browse files
committed
Tests: Expose jQuery version select
Makes use of the extended urlConfig in QUnit 1.14
1 parent fe420c0 commit 3651d44

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/unit/testsuite.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ QUnit.config.urlConfig.push({
5757
tooltip: "Skip running JSHint, e.g. within TestSwarm, where Jenkins runs it already"
5858
});
5959

60+
QUnit.config.urlConfig.push({
61+
id: "jquery",
62+
label: "jQuery version",
63+
value: [
64+
"1.6", "1.6.1", "1.6.2", "1.6.3", "1.6.4", "1.7", "1.7.1", "1.7.2",
65+
"1.8.0", "1.8.1", "1.8.2", "1.8.3", "1.9.0", "1.9.1", "1.10.0",
66+
"1.10.1", "1.10.2", "2.0.0", "2.0.1", "2.0.2", "2.0.3", "git"
67+
],
68+
tooltip: "Which jQuery Core version to test against"
69+
});
70+
6071
jshintLoaded = false;
6172
TestHelpers.testJshint = function( module ) {
6273
// Function.prototype.bind check is needed because JSHint doesn't work in ES3 browsers anymore

0 commit comments

Comments
 (0)