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

Commit

Permalink
fix(config): cucumberOpts.require should be an optional Array of stri…
Browse files Browse the repository at this point in the history
…ngs (#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`
  • Loading branch information
mdasberg authored and cnishina committed Dec 14, 2016
1 parent b337a8e commit 5a12d69
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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;
};

/**
Expand Down

0 comments on commit 5a12d69

Please sign in to comment.