mirror of
https://github.com/atom/atom.git
synced 2026-01-26 07:19:06 -05:00
Revert "await getCachedPathStatus in specs"
This reverts commit d8985c8175.
This commit is contained in:
@@ -288,9 +288,9 @@ fdescribe('GitRepositoryAsync-js', () => {
|
||||
fs.writeFileSync(modifiedPath, 'making this path modified')
|
||||
await repo.refreshStatus()
|
||||
|
||||
expect(await repo.getCachedPathStatus(cleanPath)).toBeUndefined()
|
||||
expect(repo.isStatusNew(await repo.getCachedPathStatus(newPath))).toBeTruthy()
|
||||
expect(repo.isStatusModified(await repo.getCachedPathStatus(modifiedPath))).toBeTruthy()
|
||||
expect(repo.getCachedPathStatus(cleanPath)).toBeUndefined()
|
||||
expect(repo.isStatusNew(repo.getCachedPathStatus(newPath))).toBeTruthy()
|
||||
expect(repo.isStatusModified(repo.getCachedPathStatus(modifiedPath))).toBeTruthy()
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user