"use strict";
- grunt.registerTask( "testswarm", function( commit, configFile ) {
+ grunt.registerTask( "testswarm", function( commit, configFile, browserSets ) {
var jobName,
testswarm = require( "testswarm" ),
runs = {},
config = grunt.file.readJSON( configFile ).jquery,
tests = grunt.config([ this.name, "tests" ]);
+ if ( !browserSets ) {
+ browserSets = [ "popular-no-old-ie", "ios" ];
+ }
+
if ( pull ) {
jobName = "Pull <a href='https://github.com/jquery/jquery/pull/" +
pull[ 1 ] + "'>#" + pull[ 1 ] + "</a>";
name: jobName,
runs: runs,
runMax: config.runMax,
- browserSets: [ "popular-no-old-ie", "ios" ]
+ browserSets: browserSets
}, function( err, passed ) {
if ( err ) {
grunt.log.error( err );