Skip to content

Commit

Permalink
Update manifest test
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Oct 27, 2020
1 parent 3c93039 commit 3b28644
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/integration/i18n-support/test/index.test.js
Expand Up @@ -106,6 +106,16 @@ function runTests(isDev) {
initialRevalidateSeconds: false,
srcRoute: '/gsp/no-fallback/[slug]',
},
'/en-US/not-found/blocking-fallback/first': {
dataRoute: `/_next/data/${buildId}/en-US/not-found/blocking-fallback/first.json`,
initialRevalidateSeconds: false,
srcRoute: '/not-found/blocking-fallback/[slug]',
},
'/en-US/not-found/blocking-fallback/second': {
dataRoute: `/_next/data/${buildId}/en-US/not-found/blocking-fallback/second.json`,
initialRevalidateSeconds: false,
srcRoute: '/not-found/blocking-fallback/[slug]',
},
'/en-US/not-found/fallback/first': {
dataRoute: `/_next/data/${buildId}/en-US/not-found/fallback/first.json`,
initialRevalidateSeconds: false,
Expand Down Expand Up @@ -157,6 +167,18 @@ function runTests(isDev) {
)}/gsp/no\\-fallback/([^/]+?)\\.json$`
),
},
'/not-found/blocking-fallback/[slug]': {
dataRoute: `/_next/data/${buildId}/not-found/blocking-fallback/[slug].json`,
dataRouteRegex: normalizeRegEx(
`^\\/_next\\/data\\/${escapeRegex(
buildId
)}\\/not\\-found\\/blocking\\-fallback\\/([^\\/]+?)\\.json$`
),
fallback: null,
routeRegex: normalizeRegEx(
`^\\/not\\-found\\/blocking\\-fallback\\/([^\\/]+?)(?:\\/)?$`
),
},
'/not-found/fallback/[slug]': {
dataRoute: `/_next/data/${buildId}/not-found/fallback/[slug].json`,
dataRouteRegex: normalizeRegEx(
Expand Down

0 comments on commit 3b28644

Please sign in to comment.