diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0402892..9419cc9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,4 +38,4 @@ jobs: uses: deblockt/cucumber-report-annotations-action@v1.7 with: access-token: ${{ secrets.GITHUB_TOKEN }} - path: "test/reports/cucumber-report.ndjson" + path: "test/reports/cucumber-report.json" diff --git a/package.json b/package.json index 4731c11..c59ed34 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "test:integration": "npm run test:integration:init && cucumber-js --config ./test/config/cucumber.mjs", "test": "npm run test:unit && npm run test:integration", "coverage": "c8 mocha && c8 report --reporter=html && c8 report --reporter=json-summary", - "lcov": "c8 mocha && c8 report --reporter=lcov && c8 report --reporter=json-summary", + "lcov": "c8 mocha && c8 report --reporter=lcov", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --fix", "format": "prettier --log-level warn --write \"**/*.{js,json,jsx,md,ts,tsx,html}\"", diff --git a/test/config/cucumber.mjs b/test/config/cucumber.mjs index 9c814a6..6f3704e 100644 --- a/test/config/cucumber.mjs +++ b/test/config/cucumber.mjs @@ -1,6 +1,6 @@ export default { parallel: 0, - format: ["message:test/reports/cucumber-report.ndjson"], + format: ["json:test/reports/cucumber-report.json"], paths: ["test/features"], forceExit: true, };