File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -1271,33 +1271,6 @@ describe('render', () => {
1271
1271
} ) ;
1272
1272
1273
1273
describe ( 'vnode masks (useId)' , ( ) => {
1274
- it ( 'should work with Fragments' , ( ) => {
1275
- const ids = [ ] ;
1276
- function Foo ( ) {
1277
- const id = useId ( ) ;
1278
- ids . push ( id ) ;
1279
- return < p > { id } </ p > ;
1280
- }
1281
-
1282
- function Bar ( props ) {
1283
- return props . children ;
1284
- }
1285
-
1286
- function App ( ) {
1287
- return (
1288
- < Bar >
1289
- < Foo />
1290
- < Fragment >
1291
- < Foo />
1292
- </ Fragment >
1293
- </ Bar >
1294
- ) ;
1295
- }
1296
-
1297
- render ( < App /> ) ;
1298
- expect ( ids [ 0 ] ) . not . to . equal ( ids [ 1 ] ) ;
1299
- } ) ;
1300
-
1301
1274
it ( 'should skip component top level Fragment child' , ( ) => {
1302
1275
const Wrapper = ( { children } ) => < Fragment > { children } </ Fragment > ;
1303
1276
You can’t perform that action at this time.
0 commit comments