Browse files

Grunt: Update testswarm task to use more config props

  • Loading branch information...
1 parent 679f7f3 commit 43c6663676c3278a8f949c68c2130e727ac13d1f @jzaefferer jzaefferer committed Jun 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 build/tasks/testswarm.js
View
4 build/tasks/testswarm.js
@@ -4,7 +4,7 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
var test,
testswarm = require( "testswarm" ),
config = grunt.file.readJSON( configFile ).jqueryui,
- testBase = "http://swarm.jquery.org/git/jquery-ui/" + commit + "/tests/unit/",
+ testBase = config.testUrl + commit + "/tests/unit/",
testUrls = [],
tests = {
"Accordion": "accordion/accordion.html",
@@ -35,7 +35,7 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
testUrls.push( testBase + tests[ test ] + "?nojshint=true" );
}
testswarm({
- url: "http://swarm.jquery.org/",
+ url: config.swarmUrl,
pollInterval: 10000,
timeout: 1000 * 60 * 30,
done: this.async()

0 comments on commit 43c6663

Please sign in to comment.