Skip to content

Commit

Permalink
test skip that ppr
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Feb 21, 2024
1 parent 0a1632d commit 12489da
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ createNextDescribe(
files: __dirname,
},
({ next }) => {
if (process.env.__NEXT_EXPERIMENTAL_PPR) {
it('skip ppr', () => {})
return
}
// Recommended for tests that need a full browser
it('should work using browser', async () => {
const browser: BrowserInterface = await next.browser('/')
Expand Down

0 comments on commit 12489da

Please sign in to comment.