]> 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)
committerwycats <wycats@gmail.com>
Sun, 20 Jun 2010 05:29:48 +0000 (22:29 -0700)
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>");
 })();