Skip to content

Commit

Permalink
Remove snapshots from tests (#32592)
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Jun 11, 2021
1 parent 6d321a3 commit 5e04234
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 199 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1775,7 +1775,6 @@ describe( 'Rich link previews', () => {

expect( mockFetchRemoteUrlData ).not.toHaveBeenCalled();
expect( isRichLinkPreview ).toBe( false );
expect( linkPreview ).toMatchSnapshot();
} );

it( 'should display a rich preview when data is available', async () => {
Expand Down Expand Up @@ -1809,7 +1808,6 @@ describe( 'Rich link previews', () => {
const isRichLinkPreview = linkPreview.classList.contains( 'is-rich' );

expect( isRichLinkPreview ).toBe( true );
expect( linkPreview ).toMatchSnapshot();
} );

it( 'should display a fallback when title is missing from rich data', async () => {
Expand Down

0 comments on commit 5e04234

Please sign in to comment.