Skip to content

Commit

Permalink
fixup! Disable StrictMode tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed May 2, 2024
1 parent 533827f commit 0d9d173
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/e2e/app-dir/navigation/navigation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,8 @@ describe('app dir - navigation', () => {
// App Router doesn't re-render on initial load (the params are baked
// server side). In development, effects will render twice.

// experimental react is having issues with this use effect
// @acdlite will take a look
// TODO: remove this PPR cond after react fixes the issue in experimental build.
waitForNEffects:
isNextDev && !process.env.__NEXT_EXPERIMENTAL_PPR ? 2 : 1,
// TODO: modern StrictMode does not double invoke effects during hydration: https:/facebook/react/pull/28951
waitForNEffects: 1,
},
{
router: 'pages',
Expand Down

0 comments on commit 0d9d173

Please sign in to comment.