From a46f8f9ffeb2c32ca21d58ce13bff189fec84cb0 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 4 Apr 2022 14:48:05 +0200
Subject: chore: add a Logo component

---
 src/components/atoms/images/logo.test.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 src/components/atoms/images/logo.test.tsx

(limited to 'src/components/atoms/images/logo.test.tsx')

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();
+  });
+});
-- 
cgit v1.2.3

