mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Remove nextTick in spec
This commit is contained in:
@@ -1484,7 +1484,6 @@ describe "EditorComponent", ->
|
||||
it "updates the scrollLeft or scrollTop according to the scroll sensitivity", ->
|
||||
atom.config.set('editor.scrollSensitivity', 50)
|
||||
node.dispatchEvent(new WheelEvent('mousewheel', wheelDeltaX: -5, wheelDeltaY: -10))
|
||||
nextTick()
|
||||
expect(horizontalScrollbarNode.scrollLeft).toBe 0
|
||||
|
||||
node.dispatchEvent(new WheelEvent('mousewheel', wheelDeltaX: -15, wheelDeltaY: -5))
|
||||
|
||||
Reference in New Issue
Block a user