We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6813e2 commit 2386733Copy full SHA for 2386733
src/__tests__/testUtils.ts
@@ -81,7 +81,7 @@ export function checkComponent(
81
const compName = componentDoc.displayName;
82
83
let expectedComponentDescription = `${compName} description`;
84
- if (description === undefined || description === '') {
+ if (description !== undefined) {
85
expectedComponentDescription = description || '';
86
}
87
0 commit comments