Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
25f52b48
Commit
25f52b48
authored
Jan 08, 2026
by
Tim Neutkens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update index.test.ts
parent
cdfc9e17
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
44 deletions
+47
-44
index.test.ts
test/integration/invalid-custom-routes/test/index.test.ts
+47
-44
No files found.
test/integration/invalid-custom-routes/test/index.test.ts
View file @
25f52b48
...
@@ -139,6 +139,8 @@ const runTests = () => {
...
@@ -139,6 +139,8 @@ const runTests = () => {
],
],
'redirects'
'redirects'
)
)
await
retry
(
async
()
=>
{
const
stderr
=
await
getStderr
()
const
stderr
=
await
getStderr
()
expect
(
stderr
).
toContain
(
expect
(
stderr
).
toContain
(
...
@@ -195,6 +197,7 @@ const runTests = () => {
...
@@ -195,6 +197,7 @@ const runTests = () => {
expect
(
stderr
).
toContain
(
'Invalid redirects found'
)
expect
(
stderr
).
toContain
(
'Invalid redirects found'
)
})
})
})
it
(
'should error during next build for invalid rewrites'
,
async
()
=>
{
it
(
'should error during next build for invalid rewrites'
,
async
()
=>
{
await
writeConfig
(
await
writeConfig
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment