Skip to content

Commit

Permalink
fix: skip tests in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh committed Apr 30, 2024
1 parent 6a14c68 commit 9a385c0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/e2e/app-dir/ppr-incremental/ppr-incremental.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { nextTestSetup } from 'e2e-utils'
import { nextTestSetup, isNextDev } from 'e2e-utils'

type Route = {
route: string
Expand Down Expand Up @@ -121,9 +121,11 @@ const routes: ReadonlyArray<Route> = [
]

describe('ppr-incremental', () => {
const { next } = nextTestSetup({
files: __dirname,
})
// We don't perform static builds and partial prerendering in development
// mode.
if (isNextDev) return it.skip('should skip next dev', () => {})

const { next } = nextTestSetup({ files: __dirname })

describe('ppr disabled', () => {
describe.each(routes.filter(({ enabled }) => !enabled))(
Expand Down

0 comments on commit 9a385c0

Please sign in to comment.