Commit fd5eda1c authored by Niklas Mischkulnig's avatar Niklas Mischkulnig

update snapshots

parent ae383cfd
...@@ -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": [],
} }
`) `)
......
...@@ -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": [],
} }
`) `)
......
...@@ -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": [],
} }
`) `)
......
...@@ -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": [],
} }
`) `)
......
...@@ -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": [],
} }
`) `)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment