mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Use scrollView in benchmarks
This commit is contained in:
@@ -53,7 +53,7 @@ describe "editor.", ->
|
||||
benchmark "moving-to-eof.", 1, ->
|
||||
editor.moveCursorToBottom()
|
||||
waitsFor (scrollComplete) ->
|
||||
editor.scroller.on 'scroll', scrollComplete
|
||||
editor.scrollView.on 'scroll', scrollComplete
|
||||
|
||||
describe "on-first-line.", ->
|
||||
benchmark "inserting-newline", 5, ->
|
||||
|
||||
Reference in New Issue
Block a user