Skip to content
Permalink
Browse files
Make test async to please Opera 11.1; supplements #11500
  • Loading branch information
rwaldron authored and dmethvin committed Apr 17, 2012
1 parent 46d0a5c commit 8fadc5ba01bc517ebb07736d5af9a965ed133a39
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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");
});

2 comments on commit 8fadc5b

@Krinkle
Copy link
Member

@Krinkle Krinkle commented on 8fadc5b Apr 20, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still problematic, QUnit somehow is failing to recover if this fails. Isn't the implicit stop() by asyncTest supposed to recover after a certain timeout? It's not doing that. I tried it just now with a plain test suite with just stop(), it never starts again...

Edit: Traced to 61137fd in QUnit

@Krinkle
Copy link
Member

@Krinkle Krinkle commented on 8fadc5b Apr 20, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #746

Please sign in to comment.