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

Commit

Permalink
fix(cucumber): process no-snippets param for cucumber framework
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiktv006 authored and sjelin committed May 12, 2015
1 parent 7b96db0 commit e18d499
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/frameworks/cucumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ exports.run = function(runner, specs) {
if (runner.getConfig().cucumberOpts.coffee) {
execOptions.push('--coffee');
}

// Process Cucumber 'no-snippets' param
if (runner.getConfig().cucumberOpts.noSnippets) {
execOptions.push('--no-snippets');
}
}
global.cucumber = Cucumber.Cli(execOptions);

Expand Down

0 comments on commit e18d499

Please sign in to comment.