aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks/testswarm.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/tasks/testswarm.js')
-rw-r--r--build/tasks/testswarm.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js
index df4e250d8..c0a5f351f 100644
--- a/build/tasks/testswarm.js
+++ b/build/tasks/testswarm.js
@@ -34,7 +34,7 @@ function submit( commit, tests, configFile, done ) {
testBase = config.testUrl + commit + "/tests/unit/",
testUrls = [];
for ( test in tests ) {
- testUrls.push( testBase + tests[ test ] + "?nojshint=true" );
+ testUrls.push( testBase + tests[ test ] );
}
testswarm({
url: config.swarmUrl,
@@ -53,7 +53,12 @@ function submit( commit, tests, configFile, done ) {
}
grunt.registerTask( "testswarm", function( commit, configFile ) {
- submit( commit, tests, configFile, this.async() );
+ var test,
+ latestTests = {};
+ for ( test in tests ) {
+ latestTests[ test ] = tests[ test ] + "?nojshint=true";
+ }
+ submit( commit, latestTests, configFile, this.async() );
});
grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile ) {