Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 5a12d69

Browse files
mdasbergcnishina
authored andcommitted
fix(config): cucumberOpts.require should be an optional Array of strings (#3817)
- Both cucumber options require and format now support `string` or `string[]` see #3822 #3817 - Remove no longer available options and fix `dryRun` type - Update comment for `dryRun`
1 parent b337a8e commit 5a12d69

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/config.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ export interface Config {
560560
/**
561561
* Require files before executing the features.
562562
*/
563-
require?: string;
563+
require?: string[] | string;
564564
/**
565565
* Only execute the features or scenarios with tags matching @dev.
566566
* This may be an array of strings to specify multiple tags to include.
@@ -569,11 +569,11 @@ export interface Config {
569569
/**
570570
* How to format features (default: progress)
571571
*/
572-
format?: string;
573-
// Other options include `coffee`, `noSnippets`, and `dryRun`
574-
coffee?: any;
575-
noSnippets?: any;
576-
dryRun?: any;
572+
format?: string[] | string;
573+
/**
574+
* Quickly scan your features without actually running them.
575+
*/
576+
dryRun?: boolean;
577577
};
578578

579579
/**

0 commit comments

Comments
 (0)