testing: improve cancellation, and allow test runs to be individually cancelled

Fixes #125712
This commit is contained in:
Connor Peet
2021-06-14 16:45:52 -07:00
parent 7103a76195
commit ec65867a75
12 changed files with 354 additions and 158 deletions

View File

@@ -379,7 +379,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
},
createTestRun(request, name, persist) {
checkProposedApiEnabled(extension);
return extHostTesting.createTestRun(extension.identifier.value, request, name, persist);
return extHostTesting.createTestRun(request, name, persist);
},
get onDidChangeTestResults() {
checkProposedApiEnabled(extension);