mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-05 17:30:12 +08:00
20 lines
378 B
JavaScript
20 lines
378 B
JavaScript
|
|
describe('handleWindowResize', function() {
|
|
|
|
beforeEach(function() {
|
|
affix('#cal');
|
|
});
|
|
|
|
// not true
|
|
xdescribe('When default is used, should fire resize event', function() {
|
|
it('should fire resize', function() {
|
|
var resized = 0;
|
|
$('#cal').fullCalendar({
|
|
windowResize: function(view) {
|
|
resized++;
|
|
}
|
|
});
|
|
expect(resized).toEqual(1);
|
|
});
|
|
});
|
|
}); |