We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5df69fc commit 0b5c116Copy full SHA for 0b5c116
test/components/hooks.spec.tsx
@@ -146,6 +146,7 @@ describe('React', () => {
146
147
// 2. Batched update from nested subscriber / C1 re-render
148
// Not sure why the differences across versions here
149
+ // TODO: Figure out why this is 3 in React 18 but 2 in React 19
150
const numFinalRenders = IS_REACT_18 ? 3 : 2
151
expect(renderSpy2).toHaveBeenCalledTimes(numFinalRenders)
152
})
0 commit comments