Cucumber.js v2.3.0 Release Notes

Release Date: 2017-06-01 // almost 7 years ago
  • 🆕 New Features

    • Add support code aliases for every method in the [support code API](./docs/support_files/api_reference.md). The following are now equivalent: ```javascript // Using defineSupportCode var {defineSupportCode} = require('cucumber');

    defineSupportCode(function({Given}) { Given(/a step$/, function() {}); });

    // Using aliases var {Given} = require('cucumber');

    Given(/a step$/, function() {});

      (Nico Jansen and Łukasz Gandecki)