Skip to content

Commit eca6db5

Browse files
committed
add ppr blocking test
1 parent 998cf5e commit eca6db5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/e2e/app-dir/parallel-routes-not-found/parallel-routes-not-found.test.ts

+7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ describe('parallel-routes-and-interception', () => {
2727
if (isPPR && !isNextDev) {
2828
let $ = await next.render$('/')
2929
expect($('title').text()).toBe('')
30+
31+
$ = await next.render$('/', {
32+
headers: {
33+
'User-Agent': 'Discordbot',
34+
},
35+
})
36+
expect($('title').text()).toBe('layout title')
3037
} else {
3138
const $ = await next.render$('/')
3239
expect($('title').text()).toBe('layout title')

0 commit comments

Comments
 (0)