test: stabilize media and contract shards

This commit is contained in:
Peter Steinberger
2026-04-11 01:21:22 +01:00
parent 99fc830b73
commit 950ecd30ec
4 changed files with 13 additions and 0 deletions

View File

@@ -10,6 +10,10 @@ export function createContractsVitestConfig() {
test: {
...baseTest,
isolate: false,
// The contracts shard intentionally runs non-isolated and loads hundreds of
// contract files. Use forks so full-suite parallel runs do not hit
// Vitest worker-thread heap limits.
pool: "forks",
runner: nonIsolatedRunnerPath,
setupFiles: baseTest.setupFiles ?? [],
include: [