Skip to content
Permalink
Browse files

jquery testrunner: reset global events after each run, speeds up a te…

…st run for ajax from 16s to 10s (test/?ajax), kudos to Ariel
  • Loading branch information
jzaefferer committed May 5, 2008
1 parent f869839 commit d726a96b1f5008f29097f1efbea9a987015af641
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/data/testrunner.js
@@ -184,6 +184,7 @@ function expect(asserts) {
*/
function reset() {
$("#main").html( _config.fixture );
$.event.global = {};
}

/**

0 comments on commit d726a96

Please sign in to comment.
You can’t perform that action at this time.