Skip to content

Commit

Permalink
Should not return undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Oct 31, 2022
1 parent 866ecd0 commit c207e31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/types/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,7 @@ const outerParagraphs = docWithExample.findBy((candidate) => {
} else if (ctx === 'paragraph') {
return true;
}
return false;
});
assert(outerParagraphs.length === 2);
assert(outerParagraphs[0].getContext() === 'paragraph');
Expand Down

0 comments on commit c207e31

Please sign in to comment.