mirror of
https://github.com/atom/atom.git
synced 2026-02-08 21:55:05 -05:00
TreeView starts with root being selected
This commit is contained in:
@@ -43,6 +43,9 @@ describe "TreeView", ->
|
||||
expect(rootEntries.find('> .file:contains(sample.js)')).toExist()
|
||||
expect(rootEntries.find('> .file:contains(sample.txt)')).toExist()
|
||||
|
||||
it "selects the rootview", ->
|
||||
expect(treeView.selectedEntry()).toEqual treeView.root
|
||||
|
||||
describe "when the project has no path", ->
|
||||
beforeEach ->
|
||||
treeView.deactivate()
|
||||
|
||||
Reference in New Issue
Block a user