mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
💚 Fix remaining failures in TextEditorPresenter
This commit is contained in:
@@ -1853,9 +1853,10 @@ describe "TextEditorPresenter", ->
|
||||
pixelPosition: {top: 6 * 10 - scrollTop, left: gutterWidth}
|
||||
}
|
||||
|
||||
expectStateUpdate presenter, ->
|
||||
editor.insertNewline()
|
||||
presenter.setScrollTop(scrollTop) # I'm fighting the editor
|
||||
editor.insertNewline()
|
||||
presenter.getState() # forces scroll top to be changed
|
||||
presenter.setScrollTop(scrollTop) # I'm fighting the editor
|
||||
|
||||
expectValues stateForOverlay(presenter, decoration), {
|
||||
item: item
|
||||
pixelPosition: {top: 6 * 10 - scrollTop - itemHeight, left: gutterWidth}
|
||||
|
||||
Reference in New Issue
Block a user