From 8fadc5ba01bc517ebb07736d5af9a965ed133a39 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Mon, 16 Apr 2012 09:43:59 -0400 Subject: [PATCH] Make test async to please Opera 11.1; supplements #11500 --- test/unit/event.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/event.js b/test/unit/event.js index 090c4aa1f..172f3a82a 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -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"); });