Skip to content

Commit

Permalink
coverage hook: Output frontend HTML report to correct folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppester committed Oct 28, 2024
1 parent 5bb6b3f commit 52a116a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/coverage_hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default async function coverageHook() {
}

if (existsSync(frontendCoverageFolder)) {
reportCommands.frontend = `npx nyc report --temp-dir .nyc_output -r text -r html --report-dir ${frontendCoverageFolder}/frontend`
reportCommands.frontend = `npx nyc report --temp-dir .nyc_output -r text -r html --report-dir ${reportDir}/frontend`
} else {
console.log('No front-end coverage found')
}
Expand Down

0 comments on commit 52a116a

Please sign in to comment.