mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
🎨
This commit is contained in:
committed by
Antonio Scandurra
parent
5757d6de85
commit
8720dbc862
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user