Files
vercel__next.js/test/unit
Will Binns-Smith fc977d6df7 Skip bundler config validation in next/jest and under test (#98392)
## Summary

Skip active-bundler config validation when `next/jest` loads
`next.config.*` under `PHASE_TEST`. Jest uses the Next.js SWC
transformer without running Turbopack or webpack, so bundler-specific
options should remain available without requiring phase-dependent user
config.

Add regression coverage for `experimental.turbopackRustReactCompiler`
and `experimental.cssChunking: 'graph'` in the test phase.

## Verification

- `pnpm test-unit test/unit/isolated/config.test.ts -t "Should allow
bundler-specific options during the test phase"`

<!-- NEXT_JS_LLM -->
2026-09-09 08:03:58 -07:00
..
2026-08-07 15:27:12 +02:00