The tool provides an opportunity to format report generated by @badeball/cypress-cucumber-preprocessor into a regular Cucumber json report
- Requires Node.js 14.16+
npm i cucumber-json-report-formatter
import {Formatter} from 'cucumber-json-report-formatter';
const formatter = new Formatter()
const sourceFile = "./cucumber-messages.ndjson"
const outputFile = "./reports/cucumber-report.json"
await formatter.parseCucumberJson(sourceFile, outputFile)