mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Remove setInterval spy. It's now spied in the spec helper w/ setTimeout
This commit is contained in:
@@ -624,8 +624,6 @@ describe "EditorView", ->
|
||||
editorView.attachToDom(heightInLines: 5)
|
||||
editorView.scrollToBottom()
|
||||
|
||||
spyOn(window, 'setInterval').andCallFake ->
|
||||
|
||||
# start
|
||||
editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [12, 0])
|
||||
originalScrollTop = editorView.scrollTop()
|
||||
@@ -674,8 +672,6 @@ describe "EditorView", ->
|
||||
editorView.attachToDom(heightInLines: 5)
|
||||
editorView.scrollToBottom()
|
||||
|
||||
spyOn(window, 'setInterval').andCallFake ->
|
||||
|
||||
editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [12, 0])
|
||||
originalScrollTop = editorView.scrollTop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user