diff --git a/frontend/app/components/avatar-icon/avatar-icon.spec.tsx b/frontend/app/components/avatar-icon/avatar-icon.spec.tsx
new file mode 100644
index 00000000..af4f526f
--- /dev/null
+++ b/frontend/app/components/avatar-icon/avatar-icon.spec.tsx
@@ -0,0 +1,12 @@
+import '@testing-library/jest-dom';
+import { h } from 'preact';
+import { render } from '@testing-library/preact';
+import { AvatarIcon } from './avatar-icon';
+
+describe('', () => {
+ it('should get', () => {
+ const { getByAltText } = render();
+
+ expect(getByAltText('avatar')).toHaveAttribute('src', 'https://url-to-svg-image');
+ });
+});
diff --git a/frontend/app/components/avatar-icon/avatar-icon.svg b/frontend/app/components/avatar-icon/avatar-icon.svg
index 768b8b70..6004f60d 100644
--- a/frontend/app/components/avatar-icon/avatar-icon.svg
+++ b/frontend/app/components/avatar-icon/avatar-icon.svg
@@ -1,18 +1,5 @@
diff --git a/frontend/app/components/avatar-icon/avatar-icon.tsx b/frontend/app/components/avatar-icon/avatar-icon.tsx
index 57c7e344..0cca7df8 100644
--- a/frontend/app/components/avatar-icon/avatar-icon.tsx
+++ b/frontend/app/components/avatar-icon/avatar-icon.tsx
@@ -2,18 +2,19 @@ import { h, JSX } from 'preact';
import b from 'bem-react-helper';
import { Theme } from 'common/types';
-interface Props {
+type Props = JSX.HTMLAttributes & {
picture?: string;
mix?: string;
theme?: Theme;
-}
+};
-export function AvatarIcon(props: Props & JSX.HTMLAttributes) {
+export function AvatarIcon({ mix, theme, picture, ...props }: Props) {
return (
);
}