diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-06-14 00:24:51 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-06-14 00:24:51 +0200 |
commit | 43c6663676c3278a8f949c68c2130e727ac13d1f (patch) | |
tree | 7d4d9a098fa2c7a71d4deaeed23d344713f5d54c | |
parent | 679f7f31721dc6004aadba10bf82e41dcd84a3ff (diff) | |
download | jquery-ui-43c6663676c3278a8f949c68c2130e727ac13d1f.tar.gz jquery-ui-43c6663676c3278a8f949c68c2130e727ac13d1f.zip |
Grunt: Update testswarm task to use more config props
-rw-r--r-- | build/tasks/testswarm.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js index bb1adc371..421e8944f 100644 --- a/build/tasks/testswarm.js +++ b/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() |