diff --git a/spec/git-repository-async-spec.js b/spec/git-repository-async-spec.js index cc2fe42d9..d02d31dd2 100644 --- a/spec/git-repository-async-spec.js +++ b/spec/git-repository-async-spec.js @@ -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() }) })