mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Fix failing spec
This commit is contained in:
@@ -48,7 +48,9 @@ describe 'File', ->
|
||||
newPath = fs.join(fs.directory(path), "atom-file-was-moved-test.txt")
|
||||
|
||||
afterEach ->
|
||||
fs.remove(newPath) if fs.exists(newPath)
|
||||
if fs.exists(newPath)
|
||||
fs.remove(newPath)
|
||||
waitsFor "remove event", (done) -> file.on 'remove', done
|
||||
|
||||
it "it updates its path", ->
|
||||
moveHandler = null
|
||||
|
||||
Reference in New Issue
Block a user