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

Commit

Permalink
feat(cucumber): process the Cucumber 'coffee' param
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhadrin authored and juliemr committed Sep 4, 2014
1 parent 830f511 commit 71b9c97
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 @@ -49,6 +49,11 @@ exports.run = function(runner, specs, done) {
execOptions.push('-f');
execOptions.push(runner.getConfig().cucumberOpts.format);
}

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

Expand Down

0 comments on commit 71b9c97

Please sign in to comment.