@@ -35,7 +35,6 @@ async function showQlDocument(name: string): Promise<TextDocument> {
3535
3636describe ( "Variant Analysis Submission Integration" , ( ) => {
3737 let quickPickSpy : jest . SpiedFunction < typeof window . showQuickPick > ;
38- let inputBoxSpy : jest . SpiedFunction < typeof window . showInputBox > ;
3938 let executeCommandSpy : jest . SpiedFunction < typeof commands . executeCommand > ;
4039 let showErrorMessageSpy : jest . SpiedFunction < typeof window . showErrorMessage > ;
4140
@@ -56,9 +55,6 @@ describe("Variant Analysis Submission Integration", () => {
5655 quickPickSpy = jest
5756 . spyOn ( window , "showQuickPick" )
5857 . mockResolvedValue ( undefined ) ;
59- inputBoxSpy = jest
60- . spyOn ( window , "showInputBox" )
61- . mockResolvedValue ( undefined ) ;
6258 executeCommandSpy = jest . spyOn ( commands , "executeCommand" ) ;
6359 showErrorMessageSpy = jest
6460 . spyOn ( window , "showErrorMessage" )
@@ -79,12 +75,6 @@ describe("Variant Analysis Submission Integration", () => {
7975 it ( "opens the variant analysis view" , async ( ) => {
8076 await showQlDocument ( "query.ql" ) ;
8177
82- // Select a repository list
83- quickPickSpy . mockResolvedValueOnce ( {
84- useCustomRepo : true ,
85- } as unknown as QuickPickItem ) ;
86- // Enter a GitHub repository
87- inputBoxSpy . mockResolvedValueOnce ( "github/codeql" ) ;
8878 // Select target language for your query
8979 quickPickSpy . mockResolvedValueOnce (
9080 "javascript" as unknown as QuickPickItem ,
@@ -107,13 +97,6 @@ describe("Variant Analysis Submission Integration", () => {
10797 it ( "shows the error message" , async ( ) => {
10898 await showQlDocument ( "query.ql" ) ;
10999
110- // Select a repository list
111- quickPickSpy . mockResolvedValueOnce ( {
112- useCustomRepo : true ,
113- } as unknown as QuickPickItem ) ;
114- // Enter a GitHub repository
115- inputBoxSpy . mockResolvedValueOnce ( "github/codeql" ) ;
116-
117100 await commands . executeCommand ( "codeQL.runVariantAnalysis" ) ;
118101
119102 expect ( showErrorMessageSpy ) . toHaveBeenCalledWith (
@@ -133,12 +116,6 @@ describe("Variant Analysis Submission Integration", () => {
133116 it ( "shows the error message" , async ( ) => {
134117 await showQlDocument ( "query.ql" ) ;
135118
136- // Select a repository list
137- quickPickSpy . mockResolvedValueOnce ( {
138- useCustomRepo : true ,
139- } as unknown as QuickPickItem ) ;
140- // Enter a GitHub repository
141- inputBoxSpy . mockResolvedValueOnce ( "github/codeql" ) ;
142119 // Select target language for your query
143120 quickPickSpy . mockResolvedValueOnce (
144121 "javascript" as unknown as QuickPickItem ,
0 commit comments