perf(test): speed up vitest by skipping plugins + LLM slug

This commit is contained in:
Peter Steinberger
2026-02-07 07:57:50 +00:00
parent 626a1d0699
commit 9f507112b5
6 changed files with 61 additions and 9 deletions

View File

@@ -59,7 +59,10 @@ const HookConfigSchema = z
enabled: z.boolean().optional(),
env: z.record(z.string(), z.string()).optional(),
})
.strict();
// Hook configs are intentionally open-ended (handlers can define their own keys).
// Keep enabled/env typed, but allow additional per-hook keys without marking the
// whole config invalid (which triggers doctor/best-effort loads).
.passthrough();
const HookInstallRecordSchema = z
.object({