Skip to content
Prev Previous commit
Next Next commit
fix two test issues
  • Loading branch information
lukesandberg committed Nov 7, 2025
commit 2853847f2f6ab66a5ece4e8a38a04fab2ca8bbea
2 changes: 1 addition & 1 deletion packages/next/src/server/patch-error-inspect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ function parseAndSourceMap(
inspectOptions: util.InspectOptions
): string {
// TODO(veil): Expose as CLI arg or config option. Useful for local debugging.
const showIgnoreListed = true
const showIgnoreListed = false
// We overwrote Error.prepareStackTrace earlier so error.stack is not sourcemapped.
let unparsedStack = String(error.stack)
// We could just read it from `error.stack`.
Expand Down
3 changes: 2 additions & 1 deletion test/unit/next-swc.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-env jest */
import { installBindings, transform } from 'next/dist/build/swc'
import { transform } from 'next/dist/build/swc'
import { installBindings } from 'next/dist/build/swc/install-bindings'
import path from 'path'
import fsp from 'fs/promises'

Expand Down