Skip to content

Commit 42599a6

Browse files
committed
Grunt: Fix test urls
1 parent c9ff92a commit 42599a6

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

build/tasks/testswarm.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function submit( commit, tests, configFile, done ) {
3434
testBase = config.testUrl + commit + "/tests/unit/",
3535
testUrls = [];
3636
for ( test in tests ) {
37-
testUrls.push( testBase + tests[ test ] + "?nojshint=true" );
37+
testUrls.push( testBase + tests[ test ] );
3838
}
3939
testswarm({
4040
url: config.swarmUrl,
@@ -53,7 +53,12 @@ function submit( commit, tests, configFile, done ) {
5353
}
5454

5555
grunt.registerTask( "testswarm", function( commit, configFile ) {
56-
submit( commit, tests, configFile, this.async() );
56+
var test,
57+
latestTests = {};
58+
for ( test in tests ) {
59+
latestTests[ test ] = tests[ test ] + "?nojshint=true";
60+
}
61+
submit( commit, latestTests, configFile, this.async() );
5762
});
5863

5964
grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile ) {

0 commit comments

Comments
 (0)