next.js
e3b3b1a9 - [test] Avoid needless start/stop from using `createSandbox` (#85507)

Commit
144 days ago
[test] Avoid needless start/stop from using `createSandbox` (#85507) `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`.
Author
Parents
Loading