Skip to content

Commit c207e31

Browse files
committed
Should not return undefined
1 parent 866ecd0 commit c207e31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/types/tests.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,7 @@ const outerParagraphs = docWithExample.findBy((candidate) => {
11841184
} else if (ctx === 'paragraph') {
11851185
return true;
11861186
}
1187+
return false;
11871188
});
11881189
assert(outerParagraphs.length === 2);
11891190
assert(outerParagraphs[0].getContext() === 'paragraph');

0 commit comments

Comments
 (0)