@@ -97,7 +97,7 @@ declare namespace CodeceptJS {
9797 * tests: 'tests/**.test.ts'
9898 * ```
9999 */
100- tests : string
100+ tests : string | string [ ]
101101 /**
102102 * Where to store failure screenshots, artifacts, etc
103103 *
@@ -520,17 +520,16 @@ declare namespace CodeceptJS {
520520 }
521521}
522522
523- type TryTo = < T > ( fn : ( ) => Promise < T > | T ) => Promise < T | false > ;
524- type HopeThat = < T > ( fn : ( ) => Promise < T > | T ) => Promise < T | false > ;
525- type RetryTo = < T > ( fn : ( ) => Promise < T > | T , retries ?: number ) => Promise < T > ;
526-
523+ type TryTo = < T > ( fn : ( ) => Promise < T > | T ) => Promise < T | false >
524+ type HopeThat = < T > ( fn : ( ) => Promise < T > | T ) => Promise < T | false >
525+ type RetryTo = < T > ( fn : ( ) => Promise < T > | T , retries ?: number ) => Promise < T >
527526
528527// Globals
529528declare const codecept_dir : string
530529declare const output_dir : string
531- declare const tryTo : TryTo ;
532- declare const retryTo : RetryTo ;
533- declare const hopeThat : HopeThat ;
530+ declare const tryTo : TryTo
531+ declare const retryTo : RetryTo
532+ declare const hopeThat : HopeThat
534533
535534declare const actor : CodeceptJS . actor
536535declare const codecept_actor : CodeceptJS . actor
@@ -643,7 +642,7 @@ declare module '@codeceptjs/helper' {
643642}
644643
645644declare module 'codeceptjs/effects' {
646- export const tryTo : TryTo ;
647- export const retryTo : RetryTo ;
648- export const hopeThat : HopeThat ;
645+ export const tryTo : TryTo
646+ export const retryTo : RetryTo
647+ export const hopeThat : HopeThat
649648}
0 commit comments