summaryrefslogtreecommitdiffstats
path: root/src/components/atoms/layout/column.test.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-29 18:35:41 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-29 18:35:41 +0200
commit2652fe4d5ee4451a0c9b52996844d90c66dfdfe0 (patch)
tree00ff905079345b059d4001f06fc30cc833e5dcf9 /src/components/atoms/layout/column.test.tsx
parent7e16f500cb7bc0cfd8bafbf6bb1555704f771231 (diff)
chore: add a Column component
Diffstat (limited to 'src/components/atoms/layout/column.test.tsx')
-rw-r--r--src/components/atoms/layout/column.test.tsx12
1 files changed, 12 insertions, 0 deletions
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();
+ });
+});