By default and with usage
const enableScenarioCalling = require('reuse-cucumber-scenarios');
enableScenarioCalling();
gives error
TypeError: Cannot read property 'name' of undefined
GWT.js:29:52)
{
var scenarioTag = sHelper.firstScenarioTag(tags); // select first tag in the last line
OtherWorld.setCurrentScenarioTag(scenarioTag.name); // set current scenario Tag in CustomWorld
}
My first guess is what version of cucumber-js this was written against - cucumber-js has changed significantly since when this package was last published (3 years ago)
By default and with usage const enableScenarioCalling = require('reuse-cucumber-scenarios'); enableScenarioCalling(); gives error TypeError: Cannot read property 'name' of undefined GWT.js:29:52)