Skip to content

Commit 48a790a

Browse files
committed
Core: Resume focus test based on the event, not the callback.
1 parent cc5ac08 commit 48a790a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/core/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ asyncTest( "focus", function() {
1919
$( "#inputTabindex0" )
2020
.one( "focus", function() {
2121
ok( true, "event triggered" );
22+
start();
2223
})
2324
.focus( 500, function() {
2425
ok( true, "callback triggered" );
25-
start();
2626
});
2727
});
2828

0 commit comments

Comments
 (0)