Skip to content

Commit 7551ab7

Browse files
committed
Update tests
1 parent 627e113 commit 7551ab7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/e2e/app-dir/dynamic-data/dynamic-data.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ describe('dynamic-data with dynamic = "error"', () => {
281281
})
282282

283283
describe('dynamic-data inside cache scope', () => {
284-
const isExperimentalReact = process.env.__NEXT_EXPERIMENTAL_PPR === 'true'
285284
const { isTurbopack, next, isNextDev, isNextDeploy, skipped } = nextTestSetup(
286285
{
287286
files: __dirname + '/fixtures/cache-scoped',
@@ -316,7 +315,7 @@ describe('dynamic-data inside cache scope', () => {
316315
| ^",
317316
"stack": [
318317
"${isTurbopack ? '<anonymous>' : 'eval'} app/cookies/page.js (4:40)",
319-
"${isTurbopack || !isExperimentalReact ? 'async ' : ''}Page app/cookies/page.js (15:11)",
318+
"Page app/cookies/page.js (15:11)",
320319
],
321320
}
322321
`)
@@ -336,7 +335,7 @@ describe('dynamic-data inside cache scope', () => {
336335
| ^",
337336
"stack": [
338337
"${isTurbopack ? '<anonymous>' : 'eval'} app/connection/page.js (4:54)",
339-
"${isTurbopack || !isExperimentalReact ? 'async ' : ''}Page app/connection/page.js (7:3)",
338+
"Page app/connection/page.js (7:3)",
340339
],
341340
}
342341
`)
@@ -356,7 +355,7 @@ describe('dynamic-data inside cache scope', () => {
356355
| ^",
357356
"stack": [
358357
"${isTurbopack ? '<anonymous>' : 'eval'} app/headers/page.js (4:40)",
359-
"${isTurbopack || !isExperimentalReact ? 'async ' : ''}Page app/headers/page.js (15:21)",
358+
"Page app/headers/page.js (15:21)",
360359
],
361360
}
362361
`)

0 commit comments

Comments
 (0)