@@ -79,7 +79,7 @@ describe('AVA Integration Tests', () => {
7979 expect ( result ) . not . toHaveProperty ( 'visualizationHTML' ) ;
8080 } catch ( error ) {
8181 // eslint-disable-next-line no-console
82- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
82+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
8383 }
8484 } , 60000 ) ;
8585
@@ -101,7 +101,7 @@ describe('AVA Integration Tests', () => {
101101 expect ( result . query ) . toBe ( 'What is the average revenue by region?' ) ;
102102 } catch ( error ) {
103103 // eslint-disable-next-line no-console
104- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
104+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
105105 }
106106 } , 60000 ) ;
107107
@@ -119,7 +119,7 @@ describe('AVA Integration Tests', () => {
119119 expect ( result . text . toLowerCase ( ) ) . toMatch ( / 3 2 [ , \s ] ? 4 0 0 / ) ;
120120 } catch ( error ) {
121121 // eslint-disable-next-line no-console
122- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
122+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
123123 }
124124 } , 60000 ) ;
125125
@@ -136,7 +136,7 @@ describe('AVA Integration Tests', () => {
136136 expect ( result . text . toLowerCase ( ) ) . toContain ( 'california' ) ;
137137 } catch ( error ) {
138138 // eslint-disable-next-line no-console
139- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
139+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
140140 }
141141 } , 60000 ) ;
142142
@@ -153,7 +153,7 @@ describe('AVA Integration Tests', () => {
153153 expect ( result . text . length ) . toBeGreaterThan ( 0 ) ;
154154 } catch ( error ) {
155155 // eslint-disable-next-line no-console
156- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
156+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
157157 }
158158 } , 60000 ) ;
159159 } ) ;
@@ -186,7 +186,7 @@ describe('AVA Integration Tests', () => {
186186 }
187187 } catch ( error ) {
188188 // eslint-disable-next-line no-console
189- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
189+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
190190 }
191191 } , 120000 ) ;
192192
@@ -207,7 +207,7 @@ describe('AVA Integration Tests', () => {
207207 }
208208 } catch ( error ) {
209209 // eslint-disable-next-line no-console
210- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
210+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
211211 }
212212 } , 120000 ) ;
213213
@@ -226,7 +226,7 @@ describe('AVA Integration Tests', () => {
226226 expect ( steps . length ) . toBeGreaterThan ( 0 ) ;
227227 } catch ( error ) {
228228 // eslint-disable-next-line no-console
229- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
229+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
230230 } finally {
231231 ava . off ( 'step' , handler ) ;
232232 }
@@ -255,7 +255,7 @@ describe('AVA Integration Tests', () => {
255255 expect ( result . text ) . toContain ( '12' ) ;
256256 } catch ( error ) {
257257 // eslint-disable-next-line no-console
258- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
258+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
259259 } finally {
260260 avaLarge . dispose ( ) ;
261261 }
@@ -280,7 +280,7 @@ describe('AVA Integration Tests', () => {
280280 expect ( result . text . length ) . toBeGreaterThan ( 0 ) ;
281281 } catch ( error ) {
282282 // eslint-disable-next-line no-console
283- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
283+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
284284 } finally {
285285 avaLarge . dispose ( ) ;
286286 }
@@ -319,7 +319,7 @@ describe('AVA Integration Tests', () => {
319319 expect ( result . text ) . toMatch ( / 6 0 0 / ) ;
320320 } catch ( error ) {
321321 // eslint-disable-next-line no-console
322- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
322+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
323323 }
324324 } , 60000 ) ;
325325
@@ -346,7 +346,7 @@ describe('AVA Integration Tests', () => {
346346 expect ( result . text . length ) . toBeGreaterThan ( 0 ) ;
347347 } catch ( error ) {
348348 // eslint-disable-next-line no-console
349- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
349+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
350350 }
351351 } , 60000 ) ;
352352
@@ -372,7 +372,7 @@ describe('AVA Integration Tests', () => {
372372 expect ( result . text . toLowerCase ( ) ) . toContain ( 'phone' ) ;
373373 } catch ( error ) {
374374 // eslint-disable-next-line no-console
375- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
375+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
376376 }
377377 } , 60000 ) ;
378378
@@ -392,7 +392,7 @@ describe('AVA Integration Tests', () => {
392392 expect ( result . text . length ) . toBeGreaterThan ( 0 ) ;
393393 } catch ( error ) {
394394 // eslint-disable-next-line no-console
395- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
395+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
396396 }
397397 } , 60000 ) ;
398398
@@ -417,7 +417,7 @@ describe('AVA Integration Tests', () => {
417417 expect ( result . text . length ) . toBeGreaterThan ( 0 ) ;
418418 } catch ( error ) {
419419 // eslint-disable-next-line no-console
420- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
420+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
421421 } finally {
422422 avaLarge . dispose ( ) ;
423423 }
@@ -443,7 +443,7 @@ describe('AVA Integration Tests', () => {
443443 expect ( result . text . length ) . toBeGreaterThan ( 0 ) ;
444444 } catch ( error ) {
445445 // eslint-disable-next-line no-console
446- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
446+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
447447 }
448448 } , 60000 ) ;
449449
@@ -477,7 +477,7 @@ describe('AVA Integration Tests', () => {
477477 expect ( result . text . length ) . toBeGreaterThan ( 0 ) ;
478478 } catch ( error ) {
479479 // eslint-disable-next-line no-console
480- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
480+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
481481 }
482482 } , 60000 ) ;
483483
@@ -494,7 +494,7 @@ describe('AVA Integration Tests', () => {
494494 expect ( result . text . toLowerCase ( ) ) . toContain ( 'cholesterol' ) ;
495495 } catch ( error ) {
496496 // eslint-disable-next-line no-console
497- console . log ( 'Skipping test due to API error:' , error instanceof Error ? error instanceof Error ? error . message : String ( error ) ) ;
497+ console . log ( 'Skipping test due to API error:' , error instanceof Error ? error . message : String ( error ) ) ;
498498 }
499499 } , 60000 ) ;
500500 } ) ;
0 commit comments