Skip to content

Commit 42f8916

Browse files
Remove test of impossible behaviour
1 parent ed9e9dd commit 42f8916

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

extensions/ql-vscode/test/vscode-tests/no-workspace/query-history/query-history-manager.test.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -247,20 +247,6 @@ describe("QueryHistoryManager", () => {
247247
).toBeUndefined();
248248
});
249249
});
250-
251-
describe("no selection", () => {
252-
it("should do nothing", async () => {
253-
queryHistoryManager = await createMockQueryHistory(allHistory);
254-
255-
await queryHistoryManager.handleItemClicked(undefined!, []);
256-
257-
expect(localQueriesResultsViewStub.showResults).not.toHaveBeenCalled();
258-
expect(variantAnalysisManagerStub.showView).not.toHaveBeenCalled();
259-
expect(
260-
queryHistoryManager.treeDataProvider.getCurrent(),
261-
).toBeUndefined();
262-
});
263-
});
264250
});
265251

266252
describe("handleRemoveHistoryItem", () => {

0 commit comments

Comments
 (0)