testing: fix not resorting after tests run

Fixes #139648
This commit is contained in:
Connor Peet 2021-12-29 08:35:42 -08:00
parent e2afdf5c72
commit bace3f87fb
No known key found for this signature in database
GPG key ID: CF8FD2EA0DBC61BD

View file

@ -568,6 +568,10 @@ export class TestingExplorerViewModel extends Disposable {
this.revealById(evt.item.item.extId, false, false);
}));
this._register(testResults.onResultsChanged(() => {
this.tree.resort(null);
}));
this._register(this.testProfileService.onDidChange(() => {
this.tree.rerender();
}));