test: reduce hotspot fixture overhead

This commit is contained in:
Peter Steinberger
2026-04-17 02:35:44 +01:00
parent 2cfb660a9b
commit 3a59eddd07
6 changed files with 68 additions and 48 deletions

View File

@@ -1011,7 +1011,7 @@ describe("Bundle chunk isolation (#40096)", () => {
const registryUrl = new URL("./registry.ts", import.meta.url).href;
const chunks = await Promise.all(
Array.from(
{ length: 5 },
{ length: 3 },
(_, i) => import(/* @vite-ignore */ `${registryUrl}?chunk=${ts}-${i}`),
),
);