mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
testing: add method to publish extension-provided results
This commit is contained in:
@@ -339,6 +339,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
checkProposedApiEnabled(extension);
|
||||
return extHostTesting.runTests(provider);
|
||||
},
|
||||
publishTestResult(results, persist = true) {
|
||||
checkProposedApiEnabled(extension);
|
||||
return extHostTesting.publishExtensionProvidedResults(results, persist);
|
||||
},
|
||||
get onDidChangeTestResults() {
|
||||
checkProposedApiEnabled(extension);
|
||||
return extHostTesting.onResultsChanged;
|
||||
|
||||
Reference in New Issue
Block a user