aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/loaders/progress-bar.test.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-05 23:01:32 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-05 23:01:32 +0200
commit57568e61c22c41c073f4db59992735387e8372fe (patch)
treef07d95abb248c110393d9870e7ab12864369b3f0 /src/components/atoms/loaders/progress-bar.test.tsx
parent0c1d12c7f951db56e501145bd73071480273340a (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.tsx9
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();
+ });
+});