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 ', () => {
72
72
const blogs = screen . getAllByTestId ( 'blog' )
73
73
blogs . forEach ( ( blog , index ) => {
74
74
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
+
82
76
} )
83
77
84
78
} ) ;
Original file line number Diff line number Diff line change 35
35
"@types/node" : " ^18.0.0" ,
36
36
"@types/react" : " ^18.0.14" ,
37
37
"@types/react-dom" : " ^18.0.5" ,
38
+ "@types/testing-library__react" : " ^10.2.0" ,
38
39
"@types/tiny-slider-react" : " ^0.3.4" ,
39
40
"@typescript-eslint/eslint-plugin" : " ^5.33.0" ,
40
41
"@typescript-eslint/parser" : " ^5.33.0" ,
You can’t perform that action at this time.
0 commit comments