File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,7 @@ describe('Blog component test ', () => {
7272 const blogs = screen . getAllByTestId ( 'blog' )
7373 blogs . forEach ( ( blog , index ) => {
7474 console . debug ( blog )
75- expect ( blog ) . toHaveProperty ( 'title' , blog . title ) ;
76- // expect(blog).toHaveProperty('description', blog.description);
77- // expect(blog).toHaveProperty('description', blog.);
78- // expect(blog).toHaveProperty('category.name', blog.title);
79- // expect(blog).toHaveProperty('author.name', blog.title);
80- // expect(blog).toHaveProperty('date', blog.date);
81- // expect(blog).toHaveProperty('readingTime', blog.title);
75+
8276 } )
8377
8478 } ) ;
Original file line number Diff line number Diff line change 3535 "@types/node" : " ^18.0.0" ,
3636 "@types/react" : " ^18.0.14" ,
3737 "@types/react-dom" : " ^18.0.5" ,
38+ "@types/testing-library__react" : " ^10.2.0" ,
3839 "@types/tiny-slider-react" : " ^0.3.4" ,
3940 "@typescript-eslint/eslint-plugin" : " ^5.33.0" ,
4041 "@typescript-eslint/parser" : " ^5.33.0" ,
You can’t perform that action at this time.
0 commit comments