testing: show stats about the last test run

This commit is contained in:
Connor Peet
2021-01-20 13:02:29 -08:00
parent aa14d823df
commit 0e9e4e4677
6 changed files with 101 additions and 26 deletions

View File

@@ -197,6 +197,10 @@ export class ExtHostTesting implements ExtHostTestingShape {
try {
await provider.runTests({ tests, debug: req.debug }, cancellation);
for (const { collection } of this.testSubscriptions.values()) {
collection.flushDiff(); // ensure all states are updated
}
return EMPTY_TEST_RESULT;
} catch (e) {
console.error(e); // so it appears to attached debuggers