Skip to content

Commit

Permalink
Update LinkControl test to account for ExternalLink markup changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Apr 3, 2024
1 parent bb308bc commit 7dfb1da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2166,7 +2166,7 @@ describe( 'Rich link previews', () => {
const titlePreview = screen.getByText( selectedLink.title );

// eslint-disable-next-line testing-library/no-node-access
expect( titlePreview.parentElement ).toHaveClass(
expect( titlePreview.parentElement.parentElement ).toHaveClass(
'block-editor-link-control__search-item-title'
);
} );
Expand Down

0 comments on commit 7dfb1da

Please sign in to comment.