mirror of
https://github.com/atom/atom.git
synced 2026-02-10 06:35:00 -05:00
Back to green specs 🤘
This commit is contained in:
@@ -893,7 +893,7 @@ describe "TextEditorPresenter", ->
|
||||
expect(getState(presenter).content.scrollTop).toBe 13
|
||||
|
||||
it "scrolls down automatically when the model is changed", ->
|
||||
presenter = buildPresenter(scrollTop: 0, lineHeight: 10, explicitHeight: 10)
|
||||
presenter = buildPresenter(scrollTop: 0, lineHeight: 10, explicitHeight: 20)
|
||||
|
||||
editor.setText("")
|
||||
editor.insertNewline()
|
||||
|
||||
Reference in New Issue
Block a user