Skip to content

Commit

Permalink
Pre-load specs panel to allow revealing from other panels
Browse files Browse the repository at this point in the history
  • Loading branch information
jonlamb-gh committed May 20, 2024
1 parent 4e61b97 commit c42ecc5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vscode/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ export async function activate(context: vscode.ExtensionContext) {
eventsProvider.setSelectedTimelines(selection);
});

new specs.SpecsTreeDataProvider(apiClient, specCoverageProvider, wss, context);
const specsProvider = new specs.SpecsTreeDataProvider(apiClient, specCoverageProvider, wss, context);
// Pre-load specs provided so that the deviant panel can reveal spec tree items without having the user
// explicitly load the specs panel first
const _ignored = specsProvider.getChildren();

new mutators.MutatorsTreeDataProvider(apiClient, wss, context);
new mutations.MutationsTreeDataProvider(apiClient, wss, context);
Expand Down

0 comments on commit c42ecc5

Please sign in to comment.