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
ea453ea6
Commit
ea453ea6
authored
Nov 12, 2025
by
Janka Uryga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: Cache environment works now, somehow
parent
2e978933
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
use-cache-errors.test.ts
...lopment/app-dir/use-cache-errors/use-cache-errors.test.ts
+1
-1
use-cache-hanging-inputs.test.ts
...use-cache-hanging-inputs/use-cache-hanging-inputs.test.ts
+1
-3
No files found.
test/development/app-dir/use-cache-errors/use-cache-errors.test.ts
View file @
ea453ea6
...
@@ -74,7 +74,7 @@ describe('use-cache-errors', () => {
...
@@ -74,7 +74,7 @@ describe('use-cache-errors', () => {
await
expect
(
browser
).
toDisplayRedbox
(
`
await
expect
(
browser
).
toDisplayRedbox
(
`
{
{
"description": "kaputt!",
"description": "kaputt!",
"environmentLabel": "
Prerender
",
"environmentLabel": "
Cache
",
"label": "Runtime Error",
"label": "Runtime Error",
"source": "app/anonymous/page.tsx (4:11) @ eval
"source": "app/anonymous/page.tsx (4:11) @ eval
> 4 | throw new Error('kaputt!')
> 4 | throw new Error('kaputt!')
...
...
test/e2e/app-dir/use-cache-hanging-inputs/use-cache-hanging-inputs.test.ts
View file @
ea453ea6
...
@@ -153,9 +153,7 @@ describe('use-cache-hanging-inputs', () => {
...
@@ -153,9 +153,7 @@ describe('use-cache-hanging-inputs', () => {
expect
({
count
,
title
,
description
}).
toEqual
({
expect
({
count
,
title
,
description
}).
toEqual
({
count
:
1
,
count
:
1
,
// TODO(restart-on-cache-miss): fix environment labelling
title
:
'Runtime Error
\
nCache'
,
// title: 'Runtime Error\nCache',
title
:
'Runtime Error
\
nPrerender'
,
description
:
'kaputt!'
,
description
:
'kaputt!'
,
})
})
})
})
...
...
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