diff options
Diffstat (limited to 'tests/unit/spinner/spinner_test_helpers.js')
-rw-r--r-- | tests/unit/spinner/spinner_test_helpers.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/spinner/spinner_test_helpers.js b/tests/unit/spinner/spinner_test_helpers.js index 9b11cf632..9ed904ff4 100644 --- a/tests/unit/spinner/spinner_test_helpers.js +++ b/tests/unit/spinner/spinner_test_helpers.js @@ -1,7 +1,11 @@ -TestHelpers.spinner = { +define( function() { + +return { simulateKeyDownUp: function( element, keyCode, shift ) { element .simulate( "keydown", { keyCode: keyCode, shiftKey: shift || false } ) .simulate( "keyup", { keyCode: keyCode, shiftKey: shift || false } ); } }; + +} ); |