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
fd5eda1c
Commit
fd5eda1c
authored
Feb 18, 2026
by
Niklas Mischkulnig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update snapshots
parent
ae383cfd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
68 additions
and
11 deletions
+68
-11
ReactRefreshLogBox-builtins.test.ts
...opment/acceptance-app/ReactRefreshLogBox-builtins.test.ts
+42
-4
ReactRefreshLogBoxMisc.test.ts
...development/acceptance-app/ReactRefreshLogBoxMisc.test.ts
+9
-1
ReactRefreshLogBox-builtins.test.ts
...evelopment/acceptance/ReactRefreshLogBox-builtins.test.ts
+13
-4
cache-components-dev-errors.test.ts
...components-dev-errors/cache-components-dev-errors.test.ts
+2
-1
use-cache-segment-configs.test.ts
...e-cache-segment-configs/use-cache-segment-configs.test.ts
+2
-1
No files found.
test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts
View file @
fd5eda1c
...
@@ -54,7 +54,19 @@ describe('ReactRefreshLogBox-builtins app', () => {
...
@@ -54,7 +54,19 @@ describe('ReactRefreshLogBox-builtins app', () => {
"source": "./node_modules/my-package/index.js (1:13)
"source": "./node_modules/my-package/index.js (1:13)
Module not found: Can't resolve 'dns'
Module not found: Can't resolve 'dns'
> 1 | const dns = require('dns')
> 1 | const dns = require('dns')
| ^^^^^^^^^^^^^^",
| ^^^^^^^^^^^^^^
Import traces:
Client Component Browser:
./node_modules/my-package/index.js [Client Component Browser]
./index.js [Client Component Browser]
./app/page.js [Client Component Browser]
./app/page.js [Server Component]
Client Component SSR:
./node_modules/my-package/index.js [Client Component SSR]
./index.js [Client Component SSR]
./app/page.js [Client Component SSR]
./app/page.js [Server Component]
https://nextjs.org/docs/messages/module-not-found",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
@@ -121,7 +133,17 @@ describe('ReactRefreshLogBox-builtins app', () => {
...
@@ -121,7 +133,17 @@ describe('ReactRefreshLogBox-builtins app', () => {
"source": "./index.js (1:1)
"source": "./index.js (1:1)
Module not found: Can't resolve 'b'
Module not found: Can't resolve 'b'
> 1 | import Comp from 'b'
> 1 | import Comp from 'b'
| ^^^^^^^^^^^^^^^^^^^^",
| ^^^^^^^^^^^^^^^^^^^^
Import traces:
Client Component Browser:
./index.js [Client Component Browser]
./app/page.js [Client Component Browser]
./app/page.js [Server Component]
Client Component SSR:
./index.js [Client Component SSR]
./app/page.js [Client Component SSR]
./app/page.js [Server Component]
https://nextjs.org/docs/messages/module-not-found",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
@@ -190,7 +212,15 @@ describe('ReactRefreshLogBox-builtins app', () => {
...
@@ -190,7 +212,15 @@ describe('ReactRefreshLogBox-builtins app', () => {
"source": "./app/page.js (2:1)
"source": "./app/page.js (2:1)
Module not found: Can't resolve 'b'
Module not found: Can't resolve 'b'
> 2 | import Comp from 'b'
> 2 | import Comp from 'b'
| ^^^^^^^^^^^^^^^^^^^^",
| ^^^^^^^^^^^^^^^^^^^^
Import traces:
Client Component Browser:
./app/page.js [Client Component Browser]
./app/page.js [Server Component]
Client Component SSR:
./app/page.js [Client Component SSR]
./app/page.js [Server Component]
https://nextjs.org/docs/messages/module-not-found",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
@@ -256,7 +286,15 @@ describe('ReactRefreshLogBox-builtins app', () => {
...
@@ -256,7 +286,15 @@ describe('ReactRefreshLogBox-builtins app', () => {
"source": "./app/page.js (2:1)
"source": "./app/page.js (2:1)
Module not found: Can't resolve './non-existent.css'
Module not found: Can't resolve './non-existent.css'
> 2 | import './non-existent.css'
> 2 | import './non-existent.css'
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Import traces:
Client Component Browser:
./app/page.js [Client Component Browser]
./app/page.js [Server Component]
Client Component SSR:
./app/page.js [Client Component SSR]
./app/page.js [Server Component]
https://nextjs.org/docs/messages/module-not-found",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
...
test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts
View file @
fd5eda1c
...
@@ -40,7 +40,15 @@ describe('ReactRefreshLogBox app', () => {
...
@@ -40,7 +40,15 @@ describe('ReactRefreshLogBox app', () => {
"source": "./app/page.js (3:23)
"source": "./app/page.js (3:23)
Ecmascript file had an error
Ecmascript file had an error
> 3 | export async function getStaticProps() {
> 3 | export async function getStaticProps() {
| ^^^^^^^^^^^^^^",
| ^^^^^^^^^^^^^^
"getStaticProps" is not supported in app/. Read more: https://nextjs.org/docs/app/building-your-application/data-fetching
Import traces:
Client Component Browser:
./app/page.js [Client Component Browser]
./app/page.js [Server Component]
Client Component SSR:
./app/page.js [Client Component SSR]
./app/page.js [Server Component]",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
...
test/development/acceptance/ReactRefreshLogBox-builtins.test.ts
View file @
fd5eda1c
...
@@ -85,7 +85,11 @@ describe('ReactRefreshLogBox', () => {
...
@@ -85,7 +85,11 @@ describe('ReactRefreshLogBox', () => {
"source": "./node_modules/my-package/index.js (1:1)
"source": "./node_modules/my-package/index.js (1:1)
Module not found: Can't resolve 'dns'
Module not found: Can't resolve 'dns'
> 1 | const dns = require('dns')
> 1 | const dns = require('dns')
| ^",
| ^
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./index.js
./pages/index.js",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
@@ -154,7 +158,10 @@ describe('ReactRefreshLogBox', () => {
...
@@ -154,7 +158,10 @@ describe('ReactRefreshLogBox', () => {
"source": "./index.js (1:1)
"source": "./index.js (1:1)
Module not found: Can't resolve 'b'
Module not found: Can't resolve 'b'
> 1 | import Comp from 'b'
> 1 | import Comp from 'b'
| ^",
| ^
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./pages/index.js",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
@@ -222,7 +229,8 @@ describe('ReactRefreshLogBox', () => {
...
@@ -222,7 +229,8 @@ describe('ReactRefreshLogBox', () => {
"source": "./pages/index.js (1:1)
"source": "./pages/index.js (1:1)
Module not found: Can't resolve 'b'
Module not found: Can't resolve 'b'
> 1 | import Comp from 'b'
> 1 | import Comp from 'b'
| ^",
| ^
https://nextjs.org/docs/messages/module-not-found",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
@@ -295,7 +303,8 @@ describe('ReactRefreshLogBox', () => {
...
@@ -295,7 +303,8 @@ describe('ReactRefreshLogBox', () => {
"source": "./pages/_app.js (1:1)
"source": "./pages/_app.js (1:1)
Module not found: Can't resolve './non-existent.css'
Module not found: Can't resolve './non-existent.css'
> 1 | import './non-existent.css'
> 1 | import './non-existent.css'
| ^",
| ^
https://nextjs.org/docs/messages/module-not-found",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
...
test/development/app-dir/cache-components-dev-errors/cache-components-dev-errors.test.ts
View file @
fd5eda1c
...
@@ -144,7 +144,8 @@ describe('Cache Components Dev Errors', () => {
...
@@ -144,7 +144,8 @@ describe('Cache Components Dev Errors', () => {
"source": "./app/page.tsx (1:14)
"source": "./app/page.tsx (1:14)
Ecmascript file had an error
Ecmascript file had an error
> 1 | export const revalidate = 10
> 1 | export const revalidate = 10
| ^^^^^^^^^^",
| ^^^^^^^^^^
Route segment config "revalidate" is not compatible with \`nextConfig.cacheComponents\`. Please remove it.",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
...
test/e2e/app-dir/use-cache-segment-configs/use-cache-segment-configs.test.ts
View file @
fd5eda1c
...
@@ -28,7 +28,8 @@ describe('use-cache-segment-configs', () => {
...
@@ -28,7 +28,8 @@ describe('use-cache-segment-configs', () => {
"source": "./app/runtime/page.tsx (1:14)
"source": "./app/runtime/page.tsx (1:14)
Ecmascript file had an error
Ecmascript file had an error
> 1 | export const runtime = 'edge'
> 1 | export const runtime = 'edge'
| ^^^^^^^",
| ^^^^^^^
Route segment config "runtime" is not compatible with \`nextConfig.experimental.useCache\`. Please remove it.",
"stack": [],
"stack": [],
}
}
`
)
`
)
...
...
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