You're getting a lot of flack on here OP.
I was on propanalol for awful migraines. My GP said it was advisable not to be on them during pregnancy, however it was a risk v benefit situation and my migraines are hemiplegic, debilitating, and would have left me unable to care for my baby for weeks on end.
Whilst pregnant, I spoke to my Obstetric Consultant, and they advised that I would need regular growth scans and baby would need blood sugars once born.
His growth scans were fine, despite the propanalol and then unrelated Pre Eclampsia, and his blood sugars were perfect. He's now 11 mo and is a happy, thriving little bundle of mischief.
We cannot test meds on pregnant women, it's unethical, so there has to be a risk v benefit discussion and for you to make an informed decision.