File tree Expand file tree Collapse file tree 2 files changed +24
-16
lines changed Expand file tree Collapse file tree 2 files changed +24
-16
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ describe('TableCell', () => {
1313 return mount (
1414 < TableContext . Provider value = { tableContextValue } >
1515 < table >
16- < TableSectionContext . Provider value = { contextValue } >
17- < tr >
18- < TableCell { ...props } > { props . children ?? 'Content' } </ TableCell >
19- </ tr >
20- </ TableSectionContext . Provider >
16+ < tbody >
17+ < TableSectionContext . Provider value = { contextValue } >
18+ < tr >
19+ < TableCell { ...props } > { props . children ?? 'Content' } </ TableCell >
20+ </ tr >
21+ </ TableSectionContext . Provider >
22+ </ tbody >
2123 </ table >
2224 </ TableContext . Provider > ,
2325 ) ;
@@ -28,9 +30,11 @@ describe('TableCell', () => {
2830 const contentFn = ( Component , props = { } ) => {
2931 return mount (
3032 < table >
31- < tr >
32- < Component { ...props } />
33- </ tr >
33+ < tbody >
34+ < tr >
35+ < Component { ...props } />
36+ </ tr >
37+ </ tbody >
3438 </ table > ,
3539 ) ;
3640 } ;
Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ describe('TableRow', () => {
1313 return mount (
1414 < TableContext . Provider value = { tableContextValue } >
1515 < table >
16- < TableSectionContext . Provider value = { sectionContextValue } >
17- < TableRow { ...props } >
18- < td > Cell content</ td >
19- </ TableRow >
20- </ TableSectionContext . Provider >
16+ < tbody >
17+ < TableSectionContext . Provider value = { sectionContextValue } >
18+ < TableRow { ...props } >
19+ < td > Cell content</ td >
20+ </ TableRow >
21+ </ TableSectionContext . Provider >
22+ </ tbody >
2123 </ table >
2224 </ TableContext . Provider > ,
2325 ) ;
@@ -28,9 +30,11 @@ describe('TableRow', () => {
2830 const contentFn = ( Component , props = { } ) => {
2931 return mount (
3032 < table >
31- < Component { ...props } >
32- < td > Cell content</ td >
33- </ Component >
33+ < tbody >
34+ < Component { ...props } >
35+ < td > Cell content</ td >
36+ </ Component >
37+ </ tbody >
3438 </ table > ,
3539 ) ;
3640 } ;
You can’t perform that action at this time.
0 commit comments