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', () => {
13
13
return mount (
14
14
< TableContext . Provider value = { tableContextValue } >
15
15
< 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 >
21
23
</ table >
22
24
</ TableContext . Provider > ,
23
25
) ;
@@ -28,9 +30,11 @@ describe('TableCell', () => {
28
30
const contentFn = ( Component , props = { } ) => {
29
31
return mount (
30
32
< table >
31
- < tr >
32
- < Component { ...props } />
33
- </ tr >
33
+ < tbody >
34
+ < tr >
35
+ < Component { ...props } />
36
+ </ tr >
37
+ </ tbody >
34
38
</ table > ,
35
39
) ;
36
40
} ;
Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ describe('TableRow', () => {
13
13
return mount (
14
14
< TableContext . Provider value = { tableContextValue } >
15
15
< 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 >
21
23
</ table >
22
24
</ TableContext . Provider > ,
23
25
) ;
@@ -28,9 +30,11 @@ describe('TableRow', () => {
28
30
const contentFn = ( Component , props = { } ) => {
29
31
return mount (
30
32
< 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 >
34
38
</ table > ,
35
39
) ;
36
40
} ;
You can’t perform that action at this time.
0 commit comments