From 5a12d69f34fd80234455bbe6457e125a27a07e54 Mon Sep 17 00:00:00 2001 From: Mischa Dasberg Date: Wed, 14 Dec 2016 20:20:15 +0100 Subject: [PATCH] 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` --- lib/config.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/config.ts b/lib/config.ts index 37db785cc..3af3247e4 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -560,7 +560,7 @@ export interface Config { /** * Require files before executing the features. */ - require?: string; + require?: string[] | string; /** * Only execute the features or scenarios with tags matching @dev. * This may be an array of strings to specify multiple tags to include. @@ -569,11 +569,11 @@ export interface Config { /** * How to format features (default: progress) */ - format?: string; - // Other options include `coffee`, `noSnippets`, and `dryRun` - coffee?: any; - noSnippets?: any; - dryRun?: any; + format?: string[] | string; + /** + * Quickly scan your features without actually running them. + */ + dryRun?: boolean; }; /**