Skip to content
Permalink
Browse files

Build: Fix testswarm task, use API correctly

  • Loading branch information...
jzaefferer committed Mar 12, 2014
1 parent a81dbc4 commit 22c515c6717efe46685b43215208aa4e5648fbc8
Showing with 4 additions and 5 deletions.
  1. +4 −5 build/tasks/testswarm.js
@@ -23,10 +23,8 @@ module.exports = function( grunt ) {
runs[ test ] = config.testUrl + commit + "/test/index.html?module=" + test;
});

testswarm.createClient( {
url: config.swarmUrl,
pollInterval: 10000,
timeout: timeout || 1000 * 60 * 30
testswarm.createClient({
url: config.swarmUrl
} )
.addReporter( testswarm.reporters.cli )
.auth( {
@@ -38,7 +36,8 @@ module.exports = function( grunt ) {
name: jobName,
runs: runs,
runMax: config.runMax,
browserSets: browserSets || [ "popular-no-old-ie", "ios" ]
browserSets: browserSets || [ "popular-no-old-ie", "ios" ],
timeout: timeout || 1000 * 60 * 30
}, function( err, passed ) {
if ( err ) {
grunt.log.error( err );

0 comments on commit 22c515c

Please sign in to comment.
You can’t perform that action at this time.