Skip to content

Commit

Permalink
Merge pull request #324 from storybookjs/fix-empty-coverage
Browse files Browse the repository at this point in the history
Fix empty coverage report
  • Loading branch information
yannbf committed Jul 14, 2023
2 parents 2aa338d + e7f9b28 commit 316d290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test-storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function reportCoverage() {

const onProcessEnd = () => {
cleanup();
if (process.env.STORYBOOK_COLLECT_COVERAGE !== 'true') {
if (process.env.STORYBOOK_COLLECT_COVERAGE === 'true') {
reportCoverage();
}
};
Expand Down

0 comments on commit 316d290

Please sign in to comment.