Tests: Expose jQuery version select

Makes use of the extended urlConfig in QUnit 1.14
This commit is contained in:
Jörn Zaefferer 2014-02-21 18:42:43 +01:00
parent fe420c0eac
commit 3651d44a30

View File

@ -57,6 +57,17 @@ QUnit.config.urlConfig.push({
tooltip: "Skip running JSHint, e.g. within TestSwarm, where Jenkins runs it already"
});
QUnit.config.urlConfig.push({
id: "jquery",
label: "jQuery version",
value: [
"1.6", "1.6.1", "1.6.2", "1.6.3", "1.6.4", "1.7", "1.7.1", "1.7.2",
"1.8.0", "1.8.1", "1.8.2", "1.8.3", "1.9.0", "1.9.1", "1.10.0",
"1.10.1", "1.10.2", "2.0.0", "2.0.1", "2.0.2", "2.0.3", "git"
],
tooltip: "Which jQuery Core version to test against"
});
jshintLoaded = false;
TestHelpers.testJshint = function( module ) {
// Function.prototype.bind check is needed because JSHint doesn't work in ES3 browsers anymore