Skip to content

Commit

Permalink
Update 3 more tests that should expect escapes
Browse files Browse the repository at this point in the history
  • Loading branch information
creationix committed Dec 12, 2024
1 parent 0c4c509 commit 029e3d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/prerender.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ describe('Prerender', () => {
// dataRouteRegex: normalizeRegEx(
// `^\\/_next\\/data\\/${escapeRegex(
// next.buildId
// )}\\/index\\/index.json$`
// )}\\/index\\/index\\.json$`
// ),
// page: '/index',
// },
Expand All @@ -1551,7 +1551,7 @@ describe('Prerender', () => {
{
dataRouteRegex: `^\\/_next\\/data\\/${escapeRegex(
next.buildId
)}\\/large-page-data.json$`,
)}\\/large-page-data\\.json$`,
page: '/large-page-data',
},
{
Expand Down Expand Up @@ -1606,7 +1606,7 @@ describe('Prerender', () => {
},
{
dataRouteRegex: normalizeRegEx(
`^\\/_next\\/data\\/${escapeRegex(next.buildId)}\\/ssr.json$`
`^\\/_next\\/data\\/${escapeRegex(next.buildId)}\\/ssr\\.json$`
),
page: '/ssr',
},
Expand Down

0 comments on commit 029e3d6

Please sign in to comment.