Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
fix: don't display coverage summary if no files
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Dec 20, 2021
1 parent 079daa2 commit e5551df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/peeky-runner/src/reporters/console-fancy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function createConsoleFancyReporter (): Reporter {
coveredLines,
totalLines,
}) => {
if (!mergedCoverage.length) return
const header = [
'Coverage',
`${coveredFilesCount}/${mergedCoverage.length} files (${
Expand Down

0 comments on commit e5551df

Please sign in to comment.