Skip to content

Commit

Permalink
gates
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoff committed Sep 30, 2022
1 parent 370d1d7 commit 660be95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-dom/src/__tests__/ReactDOMFloat-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3485,6 +3485,7 @@ describe('ReactDOMFloat', () => {
});

describe('escaping', () => {
// @gate enableFloat
it('escapes hrefs when selecting matching elements in the document when rendering Resources', async () => {
await actIntoEmptyDocument(() => {
const {pipe} = ReactDOMFizzServer.renderToPipeableStream(
Expand Down Expand Up @@ -3538,6 +3539,8 @@ describe('ReactDOMFloat', () => {
</html>,
);
});

// @gate enableFloat
it('escapes hrefs when selecting matching elements in the document when using preload and preinit', async () => {
await actIntoEmptyDocument(() => {
const {pipe} = ReactDOMFizzServer.renderToPipeableStream(
Expand Down

0 comments on commit 660be95

Please sign in to comment.