Commit d726a96b authored by Jörn Zaefferer's avatar Jörn Zaefferer

jquery testrunner: reset global events after each run, speeds up a test run...

jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel
parent f8698395
...@@ -184,6 +184,7 @@ function expect(asserts) { ...@@ -184,6 +184,7 @@ function expect(asserts) {
*/ */
function reset() { function reset() {
$("#main").html( _config.fixture ); $("#main").html( _config.fixture );
$.event.global = {};
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment