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
e8093d7e
Unverified
Commit
e8093d7e
authored
Feb 12, 2025
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Feb 12, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sourcemap tests due to recent Turbopack changes (#75954)
parent
a71a764c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
server-source-maps.test.ts
...e2e/app-dir/server-source-maps/server-source-maps.test.ts
+12
-10
No files found.
test/e2e/app-dir/server-source-maps/server-source-maps.test.ts
View file @
e8093d7e
...
@@ -100,13 +100,12 @@ describe('app-dir - server source maps', () => {
...
@@ -100,13 +100,12 @@ describe('app-dir - server source maps', () => {
?
'
\
nError: Boom'
+
?
'
\
nError: Boom'
+
'
\
n at logError (app/ssr-error-log-ignore-listed/page.js:9:16)'
+
'
\
n at logError (app/ssr-error-log-ignore-listed/page.js:9:16)'
+
'
\
n at runWithInternalIgnored (app/ssr-error-log-ignore-listed/page.js:19:12)'
+
'
\
n at runWithInternalIgnored (app/ssr-error-log-ignore-listed/page.js:19:12)'
+
// TODO(veil): Turbopack's sourcemap loader drops `ignoreList`
'
\
n at runInternalIgnored (internal-pkg/ignored.ts:6:9)'
+
'
\
n at runWithExternalSourceMapped (app/ssr-error-log-ignore-listed/page.js:18:29)'
+
'
\
n at runWithExternalSourceMapped (app/ssr-error-log-ignore-listed/page.js:18:29)'
+
'
\
n at runWithExternal (app/ssr-error-log-ignore-listed/page.js:17:32)'
+
'
\
n at runWithExternal (app/ssr-error-log-ignore-listed/page.js:17:32)'
+
'
\
n at runWithInternalSourceMapped (app/ssr-error-log-ignore-listed/page.js:16:18)'
+
'
\
n at runWithInternalSourceMapped (app/ssr-error-log-ignore-listed/page.js:16:18)'
+
// Realpath does not point into node_modules so we don't ignore it.
// Realpath does not point into node_modules so we don't ignore it.
'
\
n at runInternalSourceMapped (internal-pkg/sourcemapped.ts:5:9)'
+
// TODO(veil): Should be internal-pkg/sourcemapped.ts
'
\
n at runInternalSourceMapped (sourcemapped.ts:5:9)'
+
'
\
n at runWithInternal (app/ssr-error-log-ignore-listed/page.js:15:28)'
+
'
\
n at runWithInternal (app/ssr-error-log-ignore-listed/page.js:15:28)'
+
// Realpath does not point into node_modules so we don't ignore it.
// Realpath does not point into node_modules so we don't ignore it.
'
\
n at runInternal (internal-pkg/index.js:2:9)'
+
'
\
n at runInternal (internal-pkg/index.js:2:9)'
+
...
@@ -117,12 +116,14 @@ describe('app-dir - server source maps', () => {
...
@@ -117,12 +116,14 @@ describe('app-dir - server source maps', () => {
'
\
n at logError (app/ssr-error-log-ignore-listed/page.js:9:16)'
+
'
\
n at logError (app/ssr-error-log-ignore-listed/page.js:9:16)'
+
'
\
n at runWithInternalIgnored (app/ssr-error-log-ignore-listed/page.js:19:12)'
+
'
\
n at runWithInternalIgnored (app/ssr-error-log-ignore-listed/page.js:19:12)'
+
// TODO(veil): Webpacks's sourcemap loader drops `ignoreList`
// TODO(veil): Webpacks's sourcemap loader drops `ignoreList`
// TODO(veil): Webpack's sourcemap loader creates an incorrect `sources` entry
// TODO(veil): Webpack's sourcemap loader creates an incorrect `sources` entry.
// Can be worked around by using `./sourcemapped.ts` instead of `sourcemapped.ts`.
'
\
n at runInternalIgnored (webpack-internal:/(ssr)/internal-pkg/ignored.ts:6:9)'
+
'
\
n at runInternalIgnored (webpack-internal:/(ssr)/internal-pkg/ignored.ts:6:9)'
+
'
\
n at runWithExternalSourceMapped (app/ssr-error-log-ignore-listed/page.js:18:29)'
+
'
\
n at runWithExternalSourceMapped (app/ssr-error-log-ignore-listed/page.js:18:29)'
+
'
\
n at runWithExternal (app/ssr-error-log-ignore-listed/page.js:17:32)'
+
'
\
n at runWithExternal (app/ssr-error-log-ignore-listed/page.js:17:32)'
+
'
\
n at runWithInternalSourceMapped (app/ssr-error-log-ignore-listed/page.js:16:18)'
+
'
\
n at runWithInternalSourceMapped (app/ssr-error-log-ignore-listed/page.js:16:18)'
+
// TODO(veil): Webpack's sourcemap loader creates an incorrect `sources` entry
// TODO(veil): Webpack's sourcemap loader creates an incorrect `sources` entry.
// Can be worked around by using `./sourcemapped.ts` instead of `sourcemapped.ts`.
// Realpath does not point into node_modules so we don't ignore it.
// Realpath does not point into node_modules so we don't ignore it.
'
\
n at runInternalSourceMapped (webpack-internal:/(ssr)/internal-pkg/sourcemapped.ts:5:9)'
+
'
\
n at runInternalSourceMapped (webpack-internal:/(ssr)/internal-pkg/sourcemapped.ts:5:9)'
+
'
\
n at runWithInternal (app/ssr-error-log-ignore-listed/page.js:15:28)'
+
'
\
n at runWithInternal (app/ssr-error-log-ignore-listed/page.js:15:28)'
+
...
@@ -152,13 +153,12 @@ describe('app-dir - server source maps', () => {
...
@@ -152,13 +153,12 @@ describe('app-dir - server source maps', () => {
?
'
\
nError: Boom'
+
?
'
\
nError: Boom'
+
'
\
n at logError (app/rsc-error-log-ignore-listed/page.js:9:16)'
+
'
\
n at logError (app/rsc-error-log-ignore-listed/page.js:9:16)'
+
'
\
n at runWithInternalIgnored (app/rsc-error-log-ignore-listed/page.js:21:12)'
+
'
\
n at runWithInternalIgnored (app/rsc-error-log-ignore-listed/page.js:21:12)'
+
// TODO(veil): Turbopack's sourcemap loader drops `ignoreList`
'
\
n at runInternalIgnored (internal-pkg/ignored.ts:6:9)'
+
'
\
n at runWithExternalSourceMapped (app/rsc-error-log-ignore-listed/page.js:20:29)'
+
'
\
n at runWithExternalSourceMapped (app/rsc-error-log-ignore-listed/page.js:20:29)'
+
'
\
n at runWithExternal (app/rsc-error-log-ignore-listed/page.js:19:32)'
+
'
\
n at runWithExternal (app/rsc-error-log-ignore-listed/page.js:19:32)'
+
'
\
n at runWithInternalSourceMapped (app/rsc-error-log-ignore-listed/page.js:18:18)'
+
'
\
n at runWithInternalSourceMapped (app/rsc-error-log-ignore-listed/page.js:18:18)'
+
// Realpath does not point into node_modules so we don't ignore it.
// Realpath does not point into node_modules so we don't ignore it.
'
\
n at runInternalSourceMapped (internal-pkg/sourcemapped.ts:5:9)'
+
// TODO(veil): Should be internal-pkg/sourcemapped.ts
'
\
n at runInternalSourceMapped (sourcemapped.ts:5:9)'
+
'
\
n at runWithInternal (app/rsc-error-log-ignore-listed/page.js:17:28)'
+
'
\
n at runWithInternal (app/rsc-error-log-ignore-listed/page.js:17:28)'
+
// Realpath does not point into node_modules so we don't ignore it.
// Realpath does not point into node_modules so we don't ignore it.
'
\
n at runInternal (internal-pkg/index.js:2:9)'
+
'
\
n at runInternal (internal-pkg/index.js:2:9)'
+
...
@@ -169,12 +169,14 @@ describe('app-dir - server source maps', () => {
...
@@ -169,12 +169,14 @@ describe('app-dir - server source maps', () => {
'
\
n at logError (app/rsc-error-log-ignore-listed/page.js:9:16)'
+
'
\
n at logError (app/rsc-error-log-ignore-listed/page.js:9:16)'
+
'
\
n at runWithInternalIgnored (app/rsc-error-log-ignore-listed/page.js:21:12)'
+
'
\
n at runWithInternalIgnored (app/rsc-error-log-ignore-listed/page.js:21:12)'
+
// TODO(veil): Webpacks's sourcemap loader drops `ignoreList`
// TODO(veil): Webpacks's sourcemap loader drops `ignoreList`
// TODO(veil): Webpack's sourcemap loader creates an incorrect `sources` entry
// TODO(veil): Webpack's sourcemap loader creates an incorrect `sources` entry.
// Can be worked around by using `./sourcemapped.ts` instead of `sourcemapped.ts`.
'
\
n at runInternalIgnored (webpack-internal:/(rsc)/internal-pkg/ignored.ts:6:9)'
+
'
\
n at runInternalIgnored (webpack-internal:/(rsc)/internal-pkg/ignored.ts:6:9)'
+
'
\
n at runWithExternalSourceMapped (app/rsc-error-log-ignore-listed/page.js:20:29)'
+
'
\
n at runWithExternalSourceMapped (app/rsc-error-log-ignore-listed/page.js:20:29)'
+
'
\
n at runWithExternal (app/rsc-error-log-ignore-listed/page.js:19:32)'
+
'
\
n at runWithExternal (app/rsc-error-log-ignore-listed/page.js:19:32)'
+
'
\
n at runWithInternalSourceMapped (app/rsc-error-log-ignore-listed/page.js:18:18)'
+
'
\
n at runWithInternalSourceMapped (app/rsc-error-log-ignore-listed/page.js:18:18)'
+
// TODO(veil): Webpack's sourcemap loader creates an incorrect `sources` entry
// TODO(veil): Webpack's sourcemap loader creates an incorrect `sources` entry.
// Can be worked around by using `./sourcemapped.ts` instead of `sourcemapped.ts`.
// Realpath does not point into node_modules so we don't ignore it.
// Realpath does not point into node_modules so we don't ignore it.
'
\
n at runInternalSourceMapped (webpack-internal:/(rsc)/internal-pkg/sourcemapped.ts:5:9)'
+
'
\
n at runInternalSourceMapped (webpack-internal:/(rsc)/internal-pkg/sourcemapped.ts:5:9)'
+
'
\
n at runWithInternal (app/rsc-error-log-ignore-listed/page.js:17:28)'
+
'
\
n at runWithInternal (app/rsc-error-log-ignore-listed/page.js:17:28)'
+
...
...
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