Temporarily disable ajax tests when running in TestSwam.

This commit is contained in:
jeresig 2010-03-24 16:04:10 -04:00 committed by wycats
parent d54014ed91
commit ac670f3954

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 ) {
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>");
})();