From 51889773b12c576dc199fc84d0188f822ac7baae Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 6 Apr 2022 19:17:15 +0200 Subject: chore: add a HelpButton component I also added a new shape to the button base. --- src/components/molecules/buttons/help-button.test.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/components/molecules/buttons/help-button.test.tsx (limited to 'src/components/molecules/buttons/help-button.test.tsx') diff --git a/src/components/molecules/buttons/help-button.test.tsx b/src/components/molecules/buttons/help-button.test.tsx new file mode 100644 index 0000000..78987ef --- /dev/null +++ b/src/components/molecules/buttons/help-button.test.tsx @@ -0,0 +1,9 @@ +import { render, screen } from '@test-utils'; +import HelpButton from './help-button'; + +describe('Help', () => { + it('renders a help button', () => { + render(); + expect(screen.getByRole('button', { name: 'Help ?' })).toBeInTheDocument(); + }); +}); -- cgit v1.2.3