Skip to content

Commit 43c6663

Browse files
committed
Grunt: Update testswarm task to use more config props
1 parent 679f7f3 commit 43c6663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/tasks/testswarm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
44
var test,
55
testswarm = require( "testswarm" ),
66
config = grunt.file.readJSON( configFile ).jqueryui,
7-
testBase = "http://swarm.jquery.org/git/jquery-ui/" + commit + "/tests/unit/",
7+
testBase = config.testUrl + commit + "/tests/unit/",
88
testUrls = [],
99
tests = {
1010
"Accordion": "accordion/accordion.html",
@@ -35,7 +35,7 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
3535
testUrls.push( testBase + tests[ test ] + "?nojshint=true" );
3636
}
3737
testswarm({
38-
url: "http://swarm.jquery.org/",
38+
url: config.swarmUrl,
3939
pollInterval: 10000,
4040
timeout: 1000 * 60 * 30,
4141
done: this.async()

0 commit comments

Comments
 (0)