From 0ff94252e27a80221e221c6159761f46aa111ac3 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 15 Apr 2022 14:31:40 +0200
Subject: chore: add a Notice component

---
 src/components/atoms/layout/notice.test.tsx | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 src/components/atoms/layout/notice.test.tsx

(limited to 'src/components/atoms/layout/notice.test.tsx')

diff --git a/src/components/atoms/layout/notice.test.tsx b/src/components/atoms/layout/notice.test.tsx
new file mode 100644
index 0000000..4501f8f
--- /dev/null
+++ b/src/components/atoms/layout/notice.test.tsx
@@ -0,0 +1,11 @@
+import { render, screen } from '@test-utils';
+import Notice from './notice';
+
+const message = 'Tenetur consequuntur tempore.';
+
+describe('Notice', () => {
+  it('renders a message', () => {
+    render(<Notice kind="info" message={message} />);
+    expect(screen.getByText(message)).toBeInTheDocument();
+  });
+});
-- 
cgit v1.2.3

