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

Commit 71b9c97

Browse files
kayhadrinjuliemr
authored andcommitted
feat(cucumber): process the Cucumber 'coffee' param
1 parent 830f511 commit 71b9c97

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
@@ -49,6 +49,11 @@ exports.run = function(runner, specs, done) {
4949
execOptions.push('-f');
5050
execOptions.push(runner.getConfig().cucumberOpts.format);
5151
}
52+
53+
// Process Cucumber 'coffee' param
54+
if (runner.getConfig().cucumberOpts.coffee) {
55+
execOptions.push('--coffee');
56+
}
5257
}
5358
global.cucumber = Cucumber.Cli(execOptions);
5459

0 commit comments

Comments
 (0)