Skip to content

Commit

Permalink
Works in www
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Oct 24, 2022
1 parent 60f1b5a commit 8ab6421
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-dom/src/__tests__/ReactDOMFloat-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1963,7 +1963,7 @@ describe('ReactDOMFloat', () => {
);
});

// @gate enableFloat
// @gate enableFloat && enableHostSingletons && (enableClientRenderFallbackOnTextMismatch || !DEV)
it('can render a title before a singleton even if that singleton clears its contents', async () => {
await actIntoEmptyDocument(() => {
const {pipe} = ReactDOMFizzServer.renderToPipeableStream(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ describe('ReactDOMInReactServer', () => {
jest.mock('react', () => require('react/react.shared-subset'));
});

// @gate !www
it('can require react-dom', () => {
// In RSC this will be aliased.
require('react');
Expand Down

0 comments on commit 8ab6421

Please sign in to comment.