diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-05 23:01:32 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-05 23:01:32 +0200 |
| commit | 57568e61c22c41c073f4db59992735387e8372fe (patch) | |
| tree | f07d95abb248c110393d9870e7ab12864369b3f0 /src/components/atoms/loaders/progress-bar.test.tsx | |
| parent | 0c1d12c7f951db56e501145bd73071480273340a (diff) | |
chore: add a ProgressBar component
Diffstat (limited to 'src/components/atoms/loaders/progress-bar.test.tsx')
| -rw-r--r-- | src/components/atoms/loaders/progress-bar.test.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/atoms/loaders/progress-bar.test.tsx b/src/components/atoms/loaders/progress-bar.test.tsx new file mode 100644 index 0000000..37a7364 --- /dev/null +++ b/src/components/atoms/loaders/progress-bar.test.tsx @@ -0,0 +1,9 @@ +import { render, screen } from '@test-utils'; +import ProgressBar from './progress-bar'; + +describe('ProgressBar', () => { + it('renders a progress bar', () => { + render(<ProgressBar min={0} max={50} current={10} />); + expect(screen.getByRole('progressbar')).toBeInTheDocument(); + }); +}); |
