diff --git a/__tests__/__snapshots__/blog-page.test.tsx.snap b/__tests__/__snapshots__/blog-page.test.tsx.snap
new file mode 100644
index 0000000..59ef779
--- /dev/null
+++ b/__tests__/__snapshots__/blog-page.test.tsx.snap
@@ -0,0 +1,48 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Blog Page renders blog page unchanged 1`] = `
+
+`;
diff --git a/__tests__/blog-page.test.tsx b/__tests__/blog-page.test.tsx
new file mode 100644
index 0000000..55cd38d
--- /dev/null
+++ b/__tests__/blog-page.test.tsx
@@ -0,0 +1,26 @@
+import { render, screen } from '@testing-library/react';
+
+import Page from '@/app/(main)/blog/page';
+
+describe('Blog Page', () => {
+ it('renders blog page unchanged', () => {
+ const { container } = render();
+ expect(container).toMatchSnapshot();
+ });
+
+ it('renders a heading', () => {
+ render();
+
+ const heading = screen.getByRole('heading', { level: 1 });
+
+ expect(heading).toBeInTheDocument();
+ });
+
+ it('renders blog posts', () => {
+ render();
+
+ const posts = screen.getAllByRole('heading', { level: 2 });
+
+ expect(posts.length).toBeGreaterThan(0);
+ });
+});
diff --git a/app/(main)/blog/posts/[post]/page.tsx b/app/(main)/blog/posts/[post]/page.tsx
index f14cc20..0ce94a2 100644
--- a/app/(main)/blog/posts/[post]/page.tsx
+++ b/app/(main)/blog/posts/[post]/page.tsx
@@ -12,7 +12,7 @@ const PostPage = async (props: PostPageProps) => {
if (!post) {
return (
-
+
Post not found
);
@@ -27,10 +27,10 @@ const PostPage = async (props: PostPageProps) => {
height={600}
alt='post cover image'
/>
-
+
{post.title}
{' '}
-
diff --git a/app/(platform)/(dashboard)/board/[boardId]/_components/board-liveblocks.tsx b/app/(platform)/(dashboard)/board/[boardId]/_components/board-liveblocks.tsx
index 9d4f282..aeee29c 100644
--- a/app/(platform)/(dashboard)/board/[boardId]/_components/board-liveblocks.tsx
+++ b/app/(platform)/(dashboard)/board/[boardId]/_components/board-liveblocks.tsx
@@ -50,14 +50,14 @@ BoardLiveblocks.Skeleton = function SkeletonBoardLiveblocks() {
-
-
+
diff --git a/app/(platform)/(dashboard)/board/[boardId]/_components/list-form.tsx b/app/(platform)/(dashboard)/board/[boardId]/_components/list-form.tsx
index 8db1612..cc0a599 100644
--- a/app/(platform)/(dashboard)/board/[boardId]/_components/list-form.tsx
+++ b/app/(platform)/(dashboard)/board/[boardId]/_components/list-form.tsx
@@ -76,7 +76,7 @@ export const ListForm = () => {
className='h-7 border-transparent px-2 py-1 text-sm font-medium transition hover:border-input focus:border-input'
placeholder='Enter list title...'
/>
-
+
Add list
-
+
List Actions
@@ -87,8 +87,13 @@ export const ListOptions = ({ data, onAddCard }: ListOptionsProps) => {
Add card...