mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Test that removing a file updates the view for its containing directory in the TreeView
This commit is contained in:
@@ -303,9 +303,7 @@ describe "TreeView", ->
|
||||
runs ->
|
||||
expect(rootDirectoryView.entries.find('.entry').length).toBe entriesCountBefore + 1
|
||||
expect(rootDirectoryView.entries.find('.file:contains(temporary)')).toExist()
|
||||
fs.remove(temporaryFilePath)
|
||||
|
||||
describe "when a file is renamed in an expanded directory", ->
|
||||
|
||||
|
||||
|
||||
|
||||
waitsFor "directory view contens to refresh", ->
|
||||
rootDirectoryView.entries.find('.entry').length == entriesCountBefore
|
||||
|
||||
Reference in New Issue
Block a user