gkushang/cucumber-html-reporter

Getting TypeError: suite.features.forEach is not a function : Any Help

testcafe-HK opened this issue · 0 comments

Hi I am running Gherkin-Testcafe tests and it is creating a json file. I am doing exactly how it is mentioned on your page. But getting above error.

at Object.getBaseDir (\node_modules\cucumber-html-reporter\lib\hierarchyReporter.js:20:20)
at setStats (node_modules\cucumber-html-reporter\lib\reporter.js:230:39)
at generateReport (\node_modules\cucumber-html-reporter\lib\reporter.js:491:11)
at Object.generate (\node_modules\cucumber-html-reporter\lib\reporter.js:574:5)