diff options
Diffstat (limited to 'tests/unit/datepicker/helper.js')
-rw-r--r-- | tests/unit/datepicker/helper.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/datepicker/helper.js b/tests/unit/datepicker/helper.js index 7fd149bf1..85485ddf4 100644 --- a/tests/unit/datepicker/helper.js +++ b/tests/unit/datepicker/helper.js @@ -23,6 +23,12 @@ return $.extend( helper, { assert.equal( d1.toString(), d2.toString(), message ); }, + beforeAfterEach: function() { + return { + afterEach: helper.moduleAfterEach + }; + }, + init: function( id, options ) { $.datepicker.setDefaults( $.datepicker.regional[ "" ] ); return $( id ).datepicker( $.extend( { showAnim: "" }, options || {} ) ); |