]> source.dussan.org Git - jquery.git/commitdiff
Temporarily disable ajax tests when running in TestSwam.
authorjeresig <jeresig@gmail.com>
Wed, 24 Mar 2010 20:04:10 +0000 (16:04 -0400)
committerjeresig <jeresig@gmail.com>
Wed, 24 Mar 2010 20:04:10 +0000 (16:04 -0400)
test/data/testrunner.js

index a0eb3621ab6e156f00182fd84f45b89e813a2f8e..cdc3bcb6df8e32027206eb7525008aab68b1f78c 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>");
 })();