Commit 8fadc5ba authored by Rick Waldron's avatar Rick Waldron Committed by Dave Methvin

Make test async to please Opera 11.1; supplements #11500

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