Make test async to please Opera 11.1; supplements #11500

This commit is contained in:
Rick Waldron 2012-04-16 09:43:59 -04:00 committed by Dave Methvin
parent 46d0a5cfab
commit 8fadc5ba01

View File

@ -2867,7 +2867,7 @@ test("fixHooks extensions", function() {
})();
test("trigger click on checkbox, fires change event", function() {
asyncTest("trigger click on checkbox, fires change event", function() {
expect(1);
var check = jQuery("#check2");
@ -2876,5 +2876,6 @@ test("trigger click on checkbox, fires change event", function() {
// get it?
check.off("change");
ok( true, "Change event fired as a result of triggered click" );
start();
}).trigger("click");
});