X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Fdata%2Ftestrunner.js;h=0113ae5c85d074f4544730723afa49457dc9f98e;hb=1753ab3d823320da79cccc4041f662f2cfd1e20d;hp=c1114a5969b8190fc6f3d86c7346e60f51c5e9ea;hpb=ba391eccf9ab50056e2126f712741537d27fe1c9;p=jquery.git diff --git a/test/data/testrunner.js b/test/data/testrunner.js index c1114a5..0113ae5 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -81,6 +81,7 @@ function runTest() { _config.blocking = false; var time = new Date(); _config.fixture = document.getElementById('main').innerHTML; + _config.ajaxSettings = $.ajaxSettings; synchronize(function() { time = new Date() - time; $("
").html(['

Tests completed in ', @@ -184,6 +185,8 @@ function expect(asserts) { */ function reset() { $("#main").html( _config.fixture ); + $.event.global = {}; + $.ajaxSettings = $.extend({}, _config.ajaxSettings); } /**