Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum authored Nov 15, 2024
1 parent e80bb29 commit ac70da5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ describe('LexicalLinkNode tests', () => {
$getRoot().append(paragraph);
});

await editor.read(() => {
editor.read(() => {
const paragraph = $getRoot().getFirstChild() as ParagraphNode;
const [textNode, linkNode] = paragraph.getChildren();

Expand Down Expand Up @@ -462,7 +462,7 @@ describe('LexicalLinkNode tests', () => {
});

// Verify structure after link removal
await editor.read(() => {
editor.read(() => {
const paragraph = $getRoot().getFirstChild() as ParagraphNode;
const [textNode, markNode] = paragraph.getChildren();

Expand Down

0 comments on commit ac70da5

Please sign in to comment.