This commit is contained in:
Nathan Sobo
2017-03-20 18:36:25 -07:00
committed by Antonio Scandurra
parent 5757d6de85
commit 8720dbc862

View File

@@ -359,7 +359,7 @@ describe('TextEditorComponent', () => {
})
})
describe('autoscroll on cursor movement', () => {
describe('autoscroll', () => {
it('automatically scrolls vertically when the requested range is within the vertical scroll margin of the top or bottom', async () => {
const {component, editor} = buildComponent({height: 120})
expect(component.getLastVisibleRow()).toBe(8)