aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/images/logo.test.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-04 14:48:05 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-04 15:19:18 +0200
commita46f8f9ffeb2c32ca21d58ce13bff189fec84cb0 (patch)
treedba2229e68896c1a4e7d8784b606eaa3a625ce8f /src/components/atoms/images/logo.test.tsx
parent9b445e635e2694c0d6095a1a2613fc59314dc595 (diff)
chore: add a Logo component
Diffstat (limited to 'src/components/atoms/images/logo.test.tsx')
-rw-r--r--src/components/atoms/images/logo.test.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/atoms/images/logo.test.tsx b/src/components/atoms/images/logo.test.tsx
new file mode 100644
index 0000000..3e0d238
--- /dev/null
+++ b/src/components/atoms/images/logo.test.tsx
@@ -0,0 +1,9 @@
+import { render, screen } from '@test-utils';
+import Logo from './logo';
+
+describe('Logo', () => {
+ it('renders a logo with a title', () => {
+ render(<Logo title="My title" />);
+ expect(screen.getByTitle('My title')).toBeInTheDocument();
+ });
+});