mirror of
https://github.com/atom/atom.git
synced 2026-02-03 11:14:59 -05:00
Search for something with fewer results
Previously the search query used in the command panel spec returned 500+ matches when the specs needed far less to verify moving up and down and scrolling. This reduces the time take to run the command panel spec by ~2.5 seconds.
This commit is contained in:
@@ -375,7 +375,7 @@ describe "CommandPanel", ->
|
||||
beforeEach ->
|
||||
previewList = commandPanel.previewList
|
||||
rootView.trigger 'command-panel:toggle'
|
||||
waitsForPromise -> commandPanel.execute('X x/a/')
|
||||
waitsForPromise -> commandPanel.execute('X x/sort/')
|
||||
|
||||
describe "when move-down and move-up are triggered on the preview list", ->
|
||||
it "selects the next/previous operation (if there is one), and scrolls the list if needed", ->
|
||||
|
||||
Reference in New Issue
Block a user