Skip to content

Commit

Permalink
Tests: Expose jQuery version select
Browse files Browse the repository at this point in the history
Makes use of the extended urlConfig in QUnit 1.14
  • Loading branch information
jzaefferer committed Mar 4, 2014
1 parent fe420c0 commit 3651d44
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/unit/testsuite.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ QUnit.config.urlConfig.push({
tooltip: "Skip running JSHint, e.g. within TestSwarm, where Jenkins runs it already" 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; jshintLoaded = false;
TestHelpers.testJshint = function( module ) { TestHelpers.testJshint = function( module ) {
// Function.prototype.bind check is needed because JSHint doesn't work in ES3 browsers anymore // Function.prototype.bind check is needed because JSHint doesn't work in ES3 browsers anymore
Expand Down

0 comments on commit 3651d44

Please sign in to comment.