Skip to content

Commit

Permalink
fix(test): remove check for data-color="accent" in Avatar test
Browse files Browse the repository at this point in the history
  • Loading branch information
unekinn committed Oct 29, 2024
1 parent 940ad6e commit d05c7c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/react/src/components/Avatar/Avatar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ describe('Avatar', () => {
render(<Avatar aria-label='ola' />);
expect(screen.getByRole('img')).toBeInTheDocument();
expect(screen.getByRole('img')).toHaveAttribute('data-variant', 'circle');
expect(screen.getByRole('img')).toHaveAttribute('data-color', 'accent');
});

it('should render correctly with custom props', () => {
Expand Down

0 comments on commit d05c7c4

Please sign in to comment.