Skip to content

Commit

Permalink
fix: typings issues (#3602)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Feb 26, 2023
1 parent ad5f4af commit e41ae93
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ declare namespace CodeceptJS {

type RetryConfig = {
/** Filter tests by string or regexp pattern */
grep: string | RegExp;
grep?: string | RegExp;
/** Number of times to repeat scenarios of a Feature */
Feature: number;
Feature?: number;
/** Number of times to repeat scenarios */
Scenario: number;
Scenario?: number;
/** Number of times to repeat Before hook */
Before: number;
Before?: number;
/** Number of times to repeat After hook */
After: number;
After?: number;
/** Number of times to repeat BeforeSuite hook */
BeforeSuite: number;
BeforeSuite?: number;
/** Number of times to repeat AfterSuite hook */
AfterSuite: number;
AfterSuite?: number;
};

type TimeoutConfig = {
Expand Down Expand Up @@ -392,7 +392,7 @@ declare namespace CodeceptJS {
| { ios: string }
| { android: string; ios: string }
| { react: string }
| { shadow: string }
| { shadow: string[] }
| { custom: string };

interface CustomLocators {}
Expand Down

0 comments on commit e41ae93

Please sign in to comment.