Skip to content
Permalink
Browse files

Grunt: Fix test urls

  • Loading branch information
jzaefferer committed Jun 15, 2012
1 parent c9ff92a commit 42599a60016ace7765c4dfe763b5b16999e5f937
Showing with 7 additions and 2 deletions.
  1. +7 −2 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 ) {

0 comments on commit 42599a6

Please sign in to comment.
You can’t perform that action at this time.