From 351532e9906e32c862bf6810a3871993cde13ba2 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 31 Mar 2022 15:30:07 +0200
Subject: chore: add a button link component

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

(limited to 'src/components/atoms/buttons/button-link.test.tsx')

diff --git a/src/components/atoms/buttons/button-link.test.tsx b/src/components/atoms/buttons/button-link.test.tsx
new file mode 100644
index 0000000..52ccdc7
--- /dev/null
+++ b/src/components/atoms/buttons/button-link.test.tsx
@@ -0,0 +1,9 @@
+import { render, screen } from '@test-utils';
+import ButtonLink from './button-link';
+
+describe('ButtonLink', () => {
+  it('renders a ButtonLink component', () => {
+    render(<ButtonLink target="#">Button Link</ButtonLink>);
+    expect(screen.getByRole('link')).toHaveTextContent('Button Link');
+  });
+});
-- 
cgit v1.2.3

