1.1.1 • Published 4 years ago
cucumber-expression-extender v1.1.1
cucumber-expression-extender
Prerequisites | Installation | Manual
Given 21-11-2015 is nice
Given('{dd-mm-yy} is nice '
Given(/^(\d+)\-(\d+)\-(\d+) is nice$/
npm install cucumber-expression-extender
require('cucumber-expression-extender');
Given('{dd-mm-yy} is a nice date',
(dateObject) => {
console.log('indeed nice date ',
dateObject.toString());
});
Given 01-02-21 is a nice date