Follow-up from Task 2 code review. Keeps the test mock aligned with the widened return type even though vi.mock doesn't structurally typecheck the factory.
Follow-up from Task 2 code review. Keeps the test mock aligned with the widened return type even though vi.mock doesn't structurally typecheck the factory.