Skip to content

Commit

Permalink
icon fixc (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalPaszowski authored Jan 5, 2023
1 parent fd3656d commit 08a8f99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-components/src/components/Tag/Tag.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from 'react';
import { render, userEvent, vi } from 'test-utils';
import * as MaterialIcons from '@livechat/design-system-icons/react/material';
import noop from '../../utils/noop';
import { Tag } from './Tag';

Expand Down Expand Up @@ -71,7 +72,7 @@ describe('<Tag> component', () => {

it('should show avatar when both avatar and icon are provided', () => {
const { getByTestId, queryByTestId } = render(
<Tag {...props} avatar="http://test.img" icon="arrow-left">
<Tag {...props} avatar="http://test.img" icon={MaterialIcons.AddCircle}>
tag1
</Tag>
);
Expand Down

0 comments on commit 08a8f99

Please sign in to comment.