diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-10-04 14:21:24 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-11 18:14:41 +0100 |
| commit | 9eeb49155e2e74df4d5cb2833da20669b85fafe5 (patch) | |
| tree | ab35675fc05e9a68d6e06ccd1d5e7cac585a0347 /src/components/atoms/images/icons/icon.test.tsx | |
| parent | be61ffb6fe500cdbfa83b9cd131b8e72779f23c2 (diff) | |
feat(components): add a Help icon shape
Diffstat (limited to 'src/components/atoms/images/icons/icon.test.tsx')
| -rw-r--r-- | src/components/atoms/images/icons/icon.test.tsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/atoms/images/icons/icon.test.tsx b/src/components/atoms/images/icons/icon.test.tsx index d80edd7..103b34c 100644 --- a/src/components/atoms/images/icons/icon.test.tsx +++ b/src/components/atoms/images/icons/icon.test.tsx @@ -116,6 +116,14 @@ describe('Icon', () => { expect(rtlScreen.getByRole('img', { name: heading })).toBeInTheDocument(); }); + it('render an icon with help shape', () => { + const heading = 'quidem'; + + render(<Icon heading={heading} shape="help" role="img" />); + + expect(rtlScreen.getByRole('img', { name: heading })).toBeInTheDocument(); + }); + it('render an icon with home shape', () => { const heading = 'aut'; |
