We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dcddb4 commit 59a0d16Copy full SHA for 59a0d16
src/vs/workbench/contrib/testing/browser/testExplorerActions.ts
@@ -1421,7 +1421,7 @@ export class RefreshTestsAction extends Action2 {
1421
const testService = accessor.get(ITestService);
1422
const progressService = accessor.get(IProgressService);
1423
1424
- const controllerIds = distinct(elements.map(e => e.test.controllerId));
+ const controllerIds = distinct(elements.filter(isDefined).map(e => e.test.controllerId));
1425
return progressService.withProgress({ location: Testing.ViewletId }, async () => {
1426
if (controllerIds.length) {
1427
await Promise.all(controllerIds.map(id => testService.refreshTests(id)));
0 commit comments