-
Notifications
You must be signed in to change notification settings - Fork 2.3k
fix(config): cucumberOpts.require should be an optional Array of strings #3817
Conversation
@@ -553,7 +553,7 @@ export interface Config { | |||
/** | |||
* Require files before executing the features. | |||
*/ | |||
require?: string; | |||
require?: Array<string>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Prefer string[]
over Array<string>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Since you're fixing things could you fix a couple more? :)
|
Will do that. dryRun is still a cucumber.js option, but protractor-cucumber-framework does not convert dryRun to --dry-run but converts it to --dryRun, which does not match, hence it will not work. |
noSnippets?: any; | ||
dryRun?: any; | ||
format?: string[] | string; | ||
// Other options include `dryRun` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of having
// Other options include `dryRun`
could we have a definition?
/**
* use dry run for ...
*/
dryRun?: boolean;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the PR. I have one more quick fix.
fixes #3816