@byanyothername First of all, best of wishes to you. I know this is such an incredibly stressful time.
If you find out you’re having a boy, just explain the situation to her. If she flips out about it, then she’s not really a friend anyway.
But I will say that I know from personal experience...