aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/spinner/spinner_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/spinner/spinner_options.js')
-rw-r--r--tests/unit/spinner/spinner_options.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/spinner/spinner_options.js b/tests/unit/spinner/spinner_options.js
index 8be57c785..d954c8b9a 100644
--- a/tests/unit/spinner/spinner_options.js
+++ b/tests/unit/spinner/spinner_options.js
@@ -20,6 +20,7 @@ test( "incremental, false", function() {
for ( i = 0; i < 100; i++ ) {
element.simulate( "keydown", { keyCode: $.ui.keyCode.UP } );
}
+ element.simulate( "keyup", { keyCode: $.ui.keyCode.UP } );
});
test( "incremental, true", function() {
@@ -47,6 +48,7 @@ test( "incremental, true", function() {
for ( i = 0; i < 100; i++ ) {
element.simulate( "keydown", { keyCode: $.ui.keyCode.UP } );
}
+ element.simulate( "keyup", { keyCode: $.ui.keyCode.UP } );
});
test( "incremental, function", function() {
@@ -67,6 +69,7 @@ test( "incremental, function", function() {
for ( i = 0; i < 100; i++ ) {
element.simulate( "keydown", { keyCode: $.ui.keyCode.UP } );
}
+ element.simulate( "keyup", { keyCode: $.ui.keyCode.UP } );
});
test( "numberFormat, number", function() {