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

Commit e18d499

Browse files
karthiktv006sjelin
authored andcommitted
fix(cucumber): process no-snippets param for cucumber framework
1 parent 7b96db0 commit e18d499

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/frameworks/cucumber.js

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ exports.run = function(runner, specs) {
5555
if (runner.getConfig().cucumberOpts.coffee) {
5656
execOptions.push('--coffee');
5757
}
58+
59+
// Process Cucumber 'no-snippets' param
60+
if (runner.getConfig().cucumberOpts.noSnippets) {
61+
execOptions.push('--no-snippets');
62+
}
5863
}
5964
global.cucumber = Cucumber.Cli(execOptions);
6065

0 commit comments

Comments
 (0)