mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Add a disabled failing spec for text rendering when moving to the end of the file
This commit is contained in:
@@ -700,6 +700,16 @@ describe "Editor", ->
|
||||
expect(editor.renderedLines.find('.line').length).toBe 1
|
||||
expect(editor.renderedLines.find('.line').text()).toBe buffer.lineForRow(0)
|
||||
|
||||
describe "when autoscrolling at the end of the document", ->
|
||||
xit "renders lines properly", ->
|
||||
editor.setBuffer(new Buffer(require.resolve 'fixtures/two-hundred.txt'))
|
||||
editor.attachToDom(heightInLines: 5.5)
|
||||
expect(editor.renderedLines.find('.line').length).toBe 8
|
||||
|
||||
editor.moveCursorToBottom()
|
||||
|
||||
expect(editor.renderedLines.find('.line').length).toBe 8
|
||||
|
||||
describe "gutter rendering", ->
|
||||
beforeEach ->
|
||||
editor.attachToDom(heightInLines: 5.5)
|
||||
|
||||
Reference in New Issue
Block a user