Skip to content

Commit 2b76be5

Browse files
committed
fix(avatar): show placeholder for text-only custom bylines in editor
1 parent 6e3c3f5 commit 2b76be5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/blocks/avatar/edit.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ describe( 'Avatar Edit', () => {
9898
render( <Edit { ...defaultProps } /> );
9999

100100
expect( screen.getByRole( 'img' ) ).toBeInTheDocument();
101-
expect( screen.getByRole( 'img' ) ).toBeInTheDocument();
101+
expect( screen.queryByRole( 'img', { name: 'No avatar available' } ) ).not.toBeInTheDocument();
102102
} );
103103
} );

0 commit comments

Comments
 (0)