Skip to content

Commit 9ec2dc9

Browse files
Remove copied test from core
1 parent aa12b3c commit 9ec2dc9

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

test/render.test.js

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,33 +1271,6 @@ describe('render', () => {
12711271
});
12721272

12731273
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-
13011274
it('should skip component top level Fragment child', () => {
13021275
const Wrapper = ({ children }) => <Fragment>{children}</Fragment>;
13031276

0 commit comments

Comments
 (0)