Skip to content
Permalink
Browse files

Spinner Tests: Fix IE test failures by accounting for the async natur…

…e of focus/blur.
  • Loading branch information
mikesherov committed Mar 31, 2013
1 parent 7071727 commit efe8da8e6e9b50547fe9a632b267c7f8479b6686
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/unit/spinner/spinner_core.js
@@ -94,6 +94,9 @@ asyncTest( "blur input while spinning with UP", function() {
function step2() {
value = element.val();
ok( value > 11, "repeating while key is down" );
setTimeout( function() {
value = element.val();
});
element[0].blur();
setTimeout( step3, 250 );
}

0 comments on commit efe8da8

Please sign in to comment.
You can’t perform that action at this time.