Revert "await getCachedPathStatus in specs"

This reverts commit d8985c8175.
This commit is contained in:
Daniel Hengeveld
2015-11-09 16:57:08 +01:00
parent 3d2ed07470
commit 371c68e65e

View File

@@ -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()
})
})