test(server): reduce npm fixture setup in the Windows timeout case (#8106)

* test(server): batch npm fixture packing to reduce Windows setup time

* test(server): describe the batched npm fixture setup budget

---------

Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
This commit is contained in:
paseo-bot[bot]
2026-10-28 12:57:33 +00:00
committed by GitHub
parent 9fb7808191
commit 8537709e72
2 changed files with 14 additions and 7 deletions
@@ -1323,8 +1323,8 @@ export default function contribute(plugin: unknown) {
describe("npm plugin installation", () => {
let registry: Awaited<ReturnType<typeof startNpmRegistry>>;
// Packing the registry starts eleven real npm processes. Give fixture construction its
// own setup budget so Windows process startup does not consume the installation journey.
// Give real npm fixture construction its own setup budget so it does not consume
// the installation journey on Windows.
beforeAll(async () => {
const packages = npmPluginPackages();
const fixture = packages[1];