Skip to content

Commit

Permalink
Fix manual refresh of Test Explorer (#1336)
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-bsaviano authored Mar 22, 2024
1 parent 58c32ed commit db0bcf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/commands/unitTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,10 @@ export function setUpTestController(): vscode.Disposable[] {
item.busy = false;
};
testController.refreshHandler = () => {
// Create new roots
replaceRootTestItems(testController);
// Resolve children for the roots
testController.items.forEach((item) => testController.resolveHandler(item));
};
// Create the run and debug profiles
const runProfile = testController.createRunProfile(
Expand Down

0 comments on commit db0bcf4

Please sign in to comment.