more git smoke test fixes

This commit is contained in:
Joao Moreno
2020-02-05 10:57:25 +01:00
parent 1e057b7393
commit ba25c52127

View File

@@ -60,7 +60,7 @@ suite('git smoke test', function () {
const appjs = await open('app.js');
await type(appjs, ' world');
await appjs.save();
await eventToPromise(repository.state.onDidChange);
await repository.status();
assert.equal(repository.state.workingTreeChanges.length, 1);
repository.state.workingTreeChanges.some(r => r.uri.path === appjs.uri.path && r.status === Status.MODIFIED);