refactor(cli): split outbound send deps

This commit is contained in:
Peter Steinberger
2026-01-17 05:04:40 +00:00
parent bc49c20434
commit 572e04d5fb
5 changed files with 30 additions and 4 deletions

View File

@@ -316,6 +316,10 @@ vi.mock("./doctor-state-migrations.js", () => ({
}),
}));
vi.mock("./doctor-update.js", () => ({
maybeOfferUpdateBeforeDoctor: vi.fn().mockResolvedValue({ handled: false }),
}));
describe("doctor command", () => {
it("warns when the state directory is missing", async () => {
readConfigFileSnapshot.mockResolvedValue({