diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-06 19:17:15 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-06 19:17:15 +0200 |
| commit | 51889773b12c576dc199fc84d0188f822ac7baae (patch) | |
| tree | d79897d463f2517573f6dfce2d1bd27ca476eb28 /src/components/molecules/buttons/help-button.test.tsx | |
| parent | 47e12259d512e476326e83929efebf036b57f7c1 (diff) | |
chore: add a HelpButton component
I also added a new shape to the button base.
Diffstat (limited to 'src/components/molecules/buttons/help-button.test.tsx')
| -rw-r--r-- | src/components/molecules/buttons/help-button.test.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
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(<HelpButton />); + expect(screen.getByRole('button', { name: 'Help ?' })).toBeInTheDocument(); + }); +}); |
