Add a disabled failing spec for text rendering when moving to the end of the file

This commit is contained in:
Nathan Sobo
2012-06-04 21:11:32 -06:00
parent 4eb4c95a86
commit 3c2facc7be

View File

@@ -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)