Skip to content

Commit 2c51749

Browse files
committed
gates
1 parent a841943 commit 2c51749

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react-dom/src/__tests__/ReactDOMFloat-test.js

+4
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ describe('ReactDOMFloat', () => {
867867
});
868868

869869
describe('head resources', () => {
870+
// @gate enableFloat
870871
it('can rendering title tags anywhere in the tree', async () => {
871872
await actIntoEmptyDocument(() => {
872873
const {pipe} = ReactDOMFizzServer.renderToPipeableStream(
@@ -941,6 +942,7 @@ describe('ReactDOMFloat', () => {
941942
);
942943
});
943944

945+
// @gate enableFloat
944946
it('prepends new titles on the client so newer ones override older ones, including orphaned server rendered titles', async () => {
945947
await actIntoEmptyDocument(() => {
946948
const {pipe} = ReactDOMFizzServer.renderToPipeableStream(
@@ -996,6 +998,7 @@ describe('ReactDOMFloat', () => {
996998
);
997999
});
9981000

1001+
// @gate enableFloat
9991002
it('keys titles on text children and only removes them when no more instances refer to that title', async () => {
10001003
const root = ReactDOMClient.createRoot(container);
10011004
root.render(
@@ -1053,6 +1056,7 @@ describe('ReactDOMFloat', () => {
10531056
);
10541057
});
10551058

1059+
// @gate enableFloat
10561060
it('can render a title before a singleton even if that singleton clears its contents', async () => {
10571061
await actIntoEmptyDocument(() => {
10581062
const {pipe} = ReactDOMFizzServer.renderToPipeableStream(

0 commit comments

Comments
 (0)