Temporarily disable ajax tests when running in TestSwam.

This commit is contained in:
jeresig 2010-03-24 16:04:10 -04:00
parent 1ba2df02d6
commit 59124f92b5

View file

@ -7,5 +7,9 @@ jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
if ( !url || url.indexOf("http") !== 0 ) { if ( !url || url.indexOf("http") !== 0 ) {
return; return;
} }
// (Temporarily) Disable Ajax tests to reduce network strain
QUnit.isLocal = true;
document.write("<scr" + "ipt src='http://swarm.jquery.org/js/inject.js?" + (new Date).getTime() + "'></scr" + "ipt>"); document.write("<scr" + "ipt src='http://swarm.jquery.org/js/inject.js?" + (new Date).getTime() + "'></scr" + "ipt>");
})(); })();