From 2652fe4d5ee4451a0c9b52996844d90c66dfdfe0 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 29 Apr 2022 18:35:41 +0200
Subject: chore: add a Column component

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

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

diff --git a/src/components/atoms/layout/column.test.tsx b/src/components/atoms/layout/column.test.tsx
new file mode 100644
index 0000000..c5c6554
--- /dev/null
+++ b/src/components/atoms/layout/column.test.tsx
@@ -0,0 +1,12 @@
+import { render, screen } from '@test-utils';
+import Column from './column';
+
+const body =
+  'Non praesentium voluptas quisquam ex est. Distinctio accusamus facilis libero in aut. Et veritatis quo impedit fugit amet sit accusantium. Ut est rerum asperiores sint libero eveniet. Molestias placeat recusandae suscipit eligendi sunt hic.';
+
+describe('Column', () => {
+  it('renders the column body', () => {
+    render(<Column>{body}</Column>);
+    expect(screen.getByText(body)).toBeInTheDocument();
+  });
+});
-- 
cgit v1.2.3

