Skip to content

Commit

Permalink
Update sourcemap tests due to recent Turbopack changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Feb 12, 2025
1 parent a71a764 commit e347899
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions test/e2e/app-dir/server-source-maps/server-source-maps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,12 @@ describe('app-dir - server source maps', () => {
? '\nError: Boom' +
'\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)' +
// 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 runWithExternal (app/ssr-error-log-ignore-listed/page.js:17:32)' +
'\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.
'\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)' +
// Realpath does not point into node_modules so we don't ignore it.
'\n at runInternal (internal-pkg/index.js:2:9)' +
Expand Down Expand Up @@ -152,13 +151,12 @@ describe('app-dir - server source maps', () => {
? '\nError: Boom' +
'\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)' +
// 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 runWithExternal (app/rsc-error-log-ignore-listed/page.js:19:32)' +
'\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.
'\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)' +
// Realpath does not point into node_modules so we don't ignore it.
'\n at runInternal (internal-pkg/index.js:2:9)' +
Expand Down

0 comments on commit e347899

Please sign in to comment.