mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Make test async to please Opera 11.1; supplements #11500
This commit is contained in:
parent
46d0a5cfab
commit
8fadc5ba01
@ -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() {
|
|||||||
// 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");
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user