testing: add test result to proposed api, ids for correlation

This commit is contained in:
Connor Peet
2021-01-25 12:20:02 -08:00
parent ff08b2509f
commit bd7dff7f07
11 changed files with 125 additions and 42 deletions

View File

@@ -340,6 +340,14 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
checkProposedApiEnabled(extension);
return extHostTesting.runTests(provider);
},
get onDidChangeTestResults() {
checkProposedApiEnabled(extension);
return extHostTesting.onLastResultsChanged;
},
get testResults() {
checkProposedApiEnabled(extension);
return extHostTesting.lastResults;
},
};
// namespace: extensions