jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel
This commit is contained in:
parent
f8698395ac
commit
d726a96b1f
|
@ -184,6 +184,7 @@ function expect(asserts) {
|
|||
*/
|
||||
function reset() {
|
||||
$("#main").html( _config.fixture );
|
||||
$.event.global = {};
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue