aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/images/icons/icon.test.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-10-04 14:21:24 +0200
committerArmand Philippot <git@armandphilippot.com>2023-11-11 18:14:41 +0100
commit9eeb49155e2e74df4d5cb2833da20669b85fafe5 (patch)
treeab35675fc05e9a68d6e06ccd1d5e7cac585a0347 /src/components/atoms/images/icons/icon.test.tsx
parentbe61ffb6fe500cdbfa83b9cd131b8e72779f23c2 (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.tsx8
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';