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
c22cfc2b
Commit
c22cfc2b
authored
Oct 19, 2025
by
Niklas Mischkulnig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup
parent
74df2f61
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.test.js
test/integration/polyfills/test/index.test.js
+1
-1
index.test.ts
test/production/pages-dir/production/test/index.test.ts
+2
-2
No files found.
test/integration/polyfills/test/index.test.js
View file @
c22cfc2b
...
@@ -51,7 +51,7 @@ describe('Polyfills', () => {
...
@@ -51,7 +51,7 @@ describe('Polyfills', () => {
it
(
'should contain generated page count in output'
,
async
()
=>
{
it
(
'should contain generated page count in output'
,
async
()
=>
{
expect
(
output
).
toContain
(
'Generating static pages (0/5)'
)
expect
(
output
).
toContain
(
'Generating static pages (0/5)'
)
expect
(
output
).
toContain
(
'Generating static pages (5/5)'
)
expect
(
output
).
toContain
(
'Generating static pages (5/5)'
)
// we should have 4 segment, the initial message, and the final one with time
// we should have 4 segment
s
, the initial message, and the final one with time
expect
(
output
.
match
(
/Generating static pages/g
).
length
).
toBe
(
6
)
expect
(
output
.
match
(
/Generating static pages/g
).
length
).
toBe
(
6
)
})
})
}
}
...
...
test/production/pages-dir/production/test/index.test.ts
View file @
c22cfc2b
...
@@ -116,8 +116,8 @@ describe('Production Usage', () => {
...
@@ -116,8 +116,8 @@ describe('Production Usage', () => {
expect
(
next
.
cliOutput
).
toContain
(
expect
(
next
.
cliOutput
).
toContain
(
`Generating static pages (
${
pageCount
}
/
${
pageCount
}
)`
`Generating static pages (
${
pageCount
}
/
${
pageCount
}
)`
)
)
// we should
only have 4 segments and the initial message logged out
// we should
have 4 segments, the initial message, and the final one with time
expect
(
next
.
cliOutput
.
match
(
/Generating static pages/g
).
length
).
toBe
(
5
)
expect
(
next
.
cliOutput
.
match
(
/Generating static pages/g
).
length
).
toBe
(
6
)
})
})
it
(
'should output traces'
,
async
()
=>
{
it
(
'should output traces'
,
async
()
=>
{
...
...
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