mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-14 07:54:36 +01:00
@@ -133,9 +133,10 @@ export class TestingExplorerView extends ViewPane {
|
||||
const messagesContainer = dom.append(this.treeHeader, dom.$('.test-explorer-messages'));
|
||||
this._register(this.testProgressService.onTextChange(text => {
|
||||
const hadText = !!messagesContainer.innerText;
|
||||
const hasText = !!text;
|
||||
messagesContainer.innerText = text;
|
||||
|
||||
if (!hadText) {
|
||||
if (hadText !== hasText) {
|
||||
this.layoutBody();
|
||||
}
|
||||
}));
|
||||
|
||||
@@ -60,6 +60,9 @@ export class TestingProgressUiService extends Disposable implements ITestingProg
|
||||
const collected = collectTestStateCounts(false, allResults[0].counts);
|
||||
this.updateCountsEmitter.fire(collected);
|
||||
this.updateTextEmitter.fire(getTestProgressText(false, collected));
|
||||
} else {
|
||||
this.updateTextEmitter.fire('');
|
||||
this.updateCountsEmitter.fire(collectTestStateCounts(false));
|
||||
}
|
||||
|
||||
this.current.clear();
|
||||
|
||||
Reference in New Issue
Block a user