mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
`createSandbox` fully isolates the returned session from the existing Next instance by restarting the server. This is wasteful if the existing instance is already started. Some tests called `nextTestSetup()` without `skipStart` which got fixed in this PR. Some tests can just use `patchFile` nowadays instead of `createSandbox`.