File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -221,28 +221,4 @@ describe('redirectsForNext404Route', () => {
221
221
expect ( generateDynamicRewrites ( route ) ) . toStrictEqual ( expected )
222
222
} )
223
223
224
- it ( 'returns static 404 redirects when LEGACY_FALLBACK_FALSE is set as "false"' , async ( ) => {
225
- // testing to make sure that the any other string other than 'true' still returns the static 404 redirects
226
- process . env . LEGACY_FALLBACK_FALSE = 'false'
227
-
228
- const expected = {
229
- dynamicRewrites : [
230
- {
231
- force : false ,
232
- from : '/_next/data/test/getStaticProps/:id.json' ,
233
- status : 404 ,
234
- to : '/server/pages/404.html' ,
235
- } ,
236
- {
237
- force : false ,
238
- from : '/getStaticProps/:id' ,
239
- status : 404 ,
240
- to : '/server/pages/404.html' ,
241
- } ,
242
- ] ,
243
- dynamicRoutesThatMatchMiddleware : [ ] ,
244
- }
245
-
246
- expect ( generateDynamicRewrites ( route ) ) . toStrictEqual ( expected )
247
- } )
248
224
} )
You can’t perform that action at this time.
0 commit comments