Skip to content

Commit

Permalink
test: ensure we don't prerender API responses for og image in test fi…
Browse files Browse the repository at this point in the history
…xture
  • Loading branch information
pieh committed Mar 7, 2025
1 parent 3301077 commit 0479f68
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/fixtures/wasm-src/src/app/og-node/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export async function GET() {
height: 630,
})
}

export const dynamic = 'force-dynamic'
2 changes: 2 additions & 0 deletions tests/fixtures/wasm-src/src/app/og/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ export async function GET() {
}

export const runtime = 'edge'

export const dynamic = 'force-dynamic'
2 changes: 2 additions & 0 deletions tests/fixtures/wasm/app/og-node/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export async function GET() {
height: 630,
})
}

export const dynamic = 'force-dynamic'
2 changes: 2 additions & 0 deletions tests/fixtures/wasm/app/og/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ export async function GET() {
}

export const runtime = 'edge'

export const dynamic = 'force-dynamic'

0 comments on commit 0479f68

Please sign in to comment.