jquery-ui/tests/unit/datepicker/datepicker_tickets.js

23 lines
464 B
JavaScript
Raw Normal View History

/*
* datepicker_tickets.js
*/
(function($) {
module("datepicker: tickets");
test('#4055: onclick events contain references to "jQuery"', function() {
// no assertions, if the test fails, there will be an error
var _jQuery = jQuery;
jQuery = null;
$('<div/>').appendTo('body').datepicker()
// the third weekend day always exists
.find('tbody .ui-datepicker-week-end:eq(3)').click().end()
.datepicker('destroy');
jQuery = _jQuery;
});
})(jQuery);