Skip to content

Commit 316d290

Browse files
authored
Merge pull request #324 from storybookjs/fix-empty-coverage
Fix empty coverage report
2 parents 2aa338d + e7f9b28 commit 316d290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test-storybook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function reportCoverage() {
8080

8181
const onProcessEnd = () => {
8282
cleanup();
83-
if (process.env.STORYBOOK_COLLECT_COVERAGE !== 'true') {
83+
if (process.env.STORYBOOK_COLLECT_COVERAGE === 'true') {
8484
reportCoverage();
8585
}
8686
};

0 commit comments

Comments
 (0)