@@ -157,8 +157,10 @@ describeWithCodeQL()("Queries", () => {
157157 return ;
158158 }
159159
160+ console . log ( "Setting useExtensionPacks to false" ) ;
160161 await cli . setUseExtensionPacks ( false ) ;
161162 const parsedResults = await runQueryWithExtensions ( ) ;
163+ console . log ( "Returned from runQueryWithExtensions" ) ;
162164 expect ( parsedResults ) . toEqual ( [ 1 ] ) ;
163165 } ) ;
164166
@@ -183,6 +185,7 @@ describeWithCodeQL()("Queries", () => {
183185 }
184186
185187 async function runQueryWithExtensions ( ) {
188+ console . log ( "Calling compileAndRunQuery" ) ;
186189 const result = await compileAndRunQuery (
187190 mode ,
188191 appCommandManager ,
@@ -194,10 +197,12 @@ describeWithCodeQL()("Queries", () => {
194197 dbItem ,
195198 undefined ,
196199 ) ;
200+ console . log ( "Completed compileAndRunQuery" ) ;
197201
198202 // Check that query was successful
199203 expect ( result . resultType ) . toBe ( QueryResultType . SUCCESS ) ;
200204
205+ console . log ( "Loading query results" ) ;
201206 // Load query results
202207 const chunk = await qs . cliServer . bqrsDecode (
203208 result . outputDir . bqrsPath ,
@@ -208,6 +213,7 @@ describeWithCodeQL()("Queries", () => {
208213 pageSize : 10 ,
209214 } ,
210215 ) ;
216+ console . log ( "Loaded query results" ) ;
211217
212218 // Extract the results as an array.
213219 return chunk . tuples . map ( ( t ) => t [ 0 ] ) ;
0 commit comments