Skip to content

Commit 1e4999c

Browse files
committed
Fix test
1 parent b348b01 commit 1e4999c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

frontend/src/pages/Home/components/ReportItem/__tests__/ReportItem.test.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ describe('ReportItem', () => {
5656
category: ReportCategory.GENERAL,
5757
createdAt: '2025-01-27',
5858
status: ReportStatus.UNREAD,
59+
userId: '1',
60+
bookmarked: false,
61+
isProcessed: true,
62+
labValues: [],
63+
summary: '',
64+
filePath: '',
65+
updatedAt: '2025-01-27',
5966
};
6067

6168
const mockReadReport: MedicalReport = {
@@ -71,7 +78,7 @@ describe('ReportItem', () => {
7178

7279
// ASSERT
7380
expect(screen.getByText('Blood Test')).toBeInTheDocument();
74-
// expect(screen.getByText('General')).toBeInTheDocument();
81+
expect(screen.getByText('general')).toBeInTheDocument();
7582
expect(screen.getByText(/Upload Date 01\/27\/2025/)).toBeInTheDocument();
7683
expect(screen.getByTestId('mocked-icon-user')).toBeInTheDocument();
7784

0 commit comments

Comments
 (0)