mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use async cleanup to avoid ENOTEMPTY on Windows
This commit is contained in:
@@ -14,7 +14,13 @@ describe "Project", ->
|
||||
waits(1)
|
||||
|
||||
afterEach ->
|
||||
temp.cleanupSync()
|
||||
waitsForPromise ->
|
||||
new Promise (resolve, reject) ->
|
||||
temp.cleanup err ->
|
||||
if err?
|
||||
reject(err)
|
||||
else
|
||||
resolve()
|
||||
|
||||
describe "serialization", ->
|
||||
deserializedProject = null
|
||||
|
||||
Reference in New Issue
Block a user