testing: make runTests required

Fixes #117601
This commit is contained in:
Connor Peet
2021-03-02 15:46:28 -08:00
parent 9fbc881142
commit 94cda08af5
2 changed files with 2 additions and 2 deletions

View File

@@ -239,7 +239,7 @@ export class ExtHostTesting implements ExtHostTestingShape {
*/
public async $runTestsForProvider(req: RunTestForProviderRequest, cancellation: CancellationToken): Promise<void> {
const provider = this.providers.get(req.providerId);
if (!provider || !provider.runTests) {
if (!provider) {
return;
}