-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f77a9c
commit bdd9c06
Showing
3 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/components/@molecules/AvatarWithLink/AvatarWithLink.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { render, screen } from '@app/test-utils' | ||
|
||
import { AvatarWithLink } from './AvatarWithLink' | ||
|
||
describe('AvatarWithLink', () => { | ||
it('should render', async () => { | ||
render(<AvatarWithLink label="label" name="test.eth" />) | ||
expect(screen.getByTestId('avatar-with-link')).toHaveAttribute('href', '/test.eth') | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters