Skip to content

Commit

Permalink
a commented-out test for #6034
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Dec 18, 2020
1 parent 61be064 commit 3ed4ba3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/__tests__/src/view-render/height.ts
@@ -0,0 +1,20 @@
import { TimeGridViewWrapper } from "../lib/wrappers/TimeGridViewWrapper"

describe('view height', () => {
// https://github.com/fullcalendar/fullcalendar/issues/6034
xit('does not squish view-specific height:auto in timegrid view', () => {
let calendar = initCalendar({
initialView: 'timeGridWeek',
aspectRatio: 1.8,
views: {
timeGrid: {
height: 'auto'
}
}
})
let viewWrapper = new TimeGridViewWrapper(calendar)
let scrollerEl = viewWrapper.getScrollerEl()

expect(scrollerEl.getBoundingClientRect().height).toBeGreaterThan(10)
})
})

0 comments on commit 3ed4ba3

Please sign in to comment.