aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/images/logo.test.tsx
diff options
context:
space:
mode:
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();
+ });
+});