refactor(deps-dev): bump vitest from 3.2.4 to 4.1.8

Major-version Vitest upgrade across the workspace. Refactors
server/vitest.config.ts to use top-level minWorkers/maxWorkers
(replacing nested poolOptions.forks.{maxForks,minForks}, which
Vitest 4 ignores at top level), updates scripts/run-vitest-stable.mjs
for the new CLI surface, and adds explicit vi.fn() generics required
by Vitest 4's stricter inference in two UI tests. Lockfile changes
intentionally excluded — refresh bot will regenerate.
This commit is contained in:
Devin Foley committed 2026-06-05 21:02:34 -07:00
1 parent f48905398c
commit 31d308bc1b
27 files changed
+42 -38

No files matched your search

+1 -1
View File
@@ -248,7 +248,7 @@ describe("skills CLI commands", () => {
"http://paperclip.test/api/skills/catalog?kind=bundled&category=software-development&q=github",
expect.objectContaining({ method: "GET" }),
);
const rendered = logSpy.mock.calls.map((call) => String(call[0])).join("\n");
const rendered = logSpy.mock.calls.map((call: unknown[]) => String(call[0])).join("\n");
expect(rendered).toContain("id");
expect(rendered).toContain("paperclipai:bundled:software-development:github-pr-workflow");
expect(rendered).toContain("roles");
+2 -2
View File
@@ -114,7 +114,7 @@ describe("teams CLI commands", () => {
"http://paperclip.test/api/teams/catalog?kind=bundled&category=software-development&q=engineering",
expect.objectContaining({ method: "GET" }),
);
const rendered = logSpy.mock.calls.map((call) => String(call[0])).join("\n");
const rendered = logSpy.mock.calls.map((call: unknown[]) => String(call[0])).join("\n");
expect(rendered).toContain("id");
expect(rendered).toContain("paperclipai:bundled:software-development:product-engineering");
});
@@ -188,7 +188,7 @@ describe("teams CLI commands", () => {
"http://paperclip.test/api/companies/company-1/teams/catalog/installed",
expect.objectContaining({ method: "GET" }),
);
const rendered = logSpy.mock.calls.map((call) => String(call[0])).join("\n");
const rendered = logSpy.mock.calls.map((call: unknown[]) => String(call[0])).join("\n");
expect(rendered).toContain("installedStatus");
expect(rendered).toContain("out_of_date");
expect(rendered).toContain("not_installed");