mirror of
https://github.com/atom/atom.git
synced 2026-02-04 03:35:20 -05:00
Use async repo, add missing return
This commit is contained in:
@@ -312,6 +312,8 @@ describe('GitRepositoryAsync-js', () => {
|
||||
// to complete before we continue.
|
||||
let repository = atom.project.getRepositories()[0]
|
||||
waitsForPromise(() => repository.refreshStatus())
|
||||
let repository = atom.project.getRepositories()[0].async
|
||||
waitsForPromise(() => { return repository.refreshStatus })
|
||||
})
|
||||
|
||||
asyncIt('emits a status-changed event when a buffer is saved', async () => {
|
||||
|
||||
Reference in New Issue
Block a user