I don't think she was actually being serious when she said that. We all know Danny would never leave her to raise their kid alone, so I took it as Mindy just needing to reassure herself of that despite knowing full well what his response would be. Also, it led into that joke about her only being able to keep her…