File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
frontend/src/pages/Home/components/ReportItem/__tests__ Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff 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 ( / U p l o a d D a t e • 0 1 \/ 2 7 \/ 2 0 2 5 / ) ) . toBeInTheDocument ( ) ;
7683 expect ( screen . getByTestId ( 'mocked-icon-user' ) ) . toBeInTheDocument ( ) ;
7784
You can’t perform that action at this time.
0 commit comments