diff options
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'; |
