Temporarily disable ajax tests when running in TestSwam.
[jquery.git] / test / data / testrunner.js
index a0eb362..cdc3bcb 100644 (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>");
 })();