Permalink
Browse files

Core: Resume focus test based on the event, not the callback.

  • Loading branch information...
scottgonzalez committed Jan 8, 2013
1 parent cc5ac08 commit 48a790a327fef7773f7686e4b42e4c9ef67a84ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/core/core.js
View
@@ -19,10 +19,10 @@ asyncTest( "focus", function() {
$( "#inputTabindex0" )
.one( "focus", function() {
ok( true, "event triggered" );
+ start();
})
.focus( 500, function() {
ok( true, "callback triggered" );
- start();
});
});

0 comments on commit 48a790a

Please sign in to comment.