Skip to content

Commit c9d0529

Browse files
committed
fix(doctor-completion): make test repairMode a proper DoctorRepairMode object
Replace the string literal 'repairMode: "fix" as const' with a proper DoctorRepairMode object (shouldRepair, shouldForce, nonInteractive, canPrompt, updateInProgress) to fix the check-test-types CI failure. This addresses the ClawSweeper P1 finding: - test fixture repairMode type mismatch 🦞 diamond lobster: L2 evidence from real doctor --fix CLI run Ref. #99341
1 parent 7ba35a6 commit c9d0529

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/commands/doctor-completion.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ const noopPrompter: DoctorPrompter = {
2525
select: async (_params, fallback) => fallback,
2626
shouldRepair: true,
2727
shouldForce: false,
28-
repairMode: "fix" as const,
28+
repairMode: {
29+
shouldRepair: true,
30+
shouldForce: false,
31+
nonInteractive: false,
32+
canPrompt: true,
33+
updateInProgress: false,
34+
},
2935
};
3036

3137
afterEach(async () => {

0 commit comments

Comments
 (0)