Skip to content

Commit

Permalink
Gate this test on disabling the client cache
Browse files Browse the repository at this point in the history
Otherwise we end up throwing since the Fizz implementation doesn't have one,
or if it did, we'd fail the test since it was enabled.
  • Loading branch information
sebmarkbage committed Jun 28, 2024
1 parent b27b2b7 commit 8b8c255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-html/src/__tests__/ReactHTMLClient-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ describe('ReactHTML', () => {
);
});

// @gate disableClientCache
it('does NOT support cache yet because it is a client component', async () => {
let counter = 0;
const getCount = React.cache(() => {
Expand Down

0 comments on commit 8b8c255

Please sign in to comment.