Skip to content

Instantly share code, notes, and snippets.

View goriol's full-sized avatar

Guillaume Oriol goriol

  • Carestream Health
  • France
View GitHub Profile
@goriol
goriol / configuration.js
Last active August 29, 2015 14:24
HTML formatter for Cucumber.js
function Configuration(argv) {
var Cucumber = require('../../cucumber');
var argumentParser = Cucumber.Cli.ArgumentParser(argv);
argumentParser.parse();
var self = {
getFormatter: function getFormatter() {
var formatter;
var format = argumentParser.getFormat();