How to use the gherkin.connect function in gherkin

To help you get started, we’ve selected a few gherkin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cucumber-attic / gherkin-editor / server.js View on Github external
app.configure(function() {
  app.use(express.logger());
  app.use(express.static(__dirname + '/public'));
  app.use(require('ace-connect').connect('/js/ace'));
  app.use(require('./lib/connect').connect('/js/ge'));
  app.use(require('gherkin').connect('/js'));
});