From 4a79f0d5511d6a6732428687740f8190e000f1b9 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 31 Mar 2022 22:34:23 +0200
Subject: chore: add a Link component

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

(limited to 'src/components/atoms/links/link.test.tsx')

diff --git a/src/components/atoms/links/link.test.tsx b/src/components/atoms/links/link.test.tsx
new file mode 100644
index 0000000..54e2414
--- /dev/null
+++ b/src/components/atoms/links/link.test.tsx
@@ -0,0 +1,9 @@
+import { render, screen } from '@test-utils';
+import Link from './link';
+
+describe('Link', () => {
+  it('render a link', () => {
+    render(<Link href="#">A link</Link>);
+    expect(screen.getByRole('link')).toHaveTextContent('A link');
+  });
+});
-- 
cgit v1.2.3

