Skip to content

Commit 2386733

Browse files
authored
fix: unit tests are failing
1 parent c6813e2 commit 2386733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/testUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function checkComponent(
8181
const compName = componentDoc.displayName;
8282

8383
let expectedComponentDescription = `${compName} description`;
84-
if (description === undefined || description === '') {
84+
if (description !== undefined) {
8585
expectedComponentDescription = description || '';
8686
}
8787

0 commit comments

Comments
 (0)