Getting roundworms from puppies while pregnant

Some backstory: my mom got 2 puppies. We had them for about a week and we took them to the vet and found out they both have roundworms very bad. I’m pregnant and just got off of my anxiety medication, so I instantly googled whether or not it can be transmitted to humans, and I found out they can. It seems that they can only be transmitted from touching the poop, and touching your mouth. Before we knew they had roundworms, I had picked up the dogs poop many times, they’re not trained so they still poop inside 99% of the time. I always picked it up with a plastic bag but I didn’t wash my hands after because I didn’t think it was necessary as I was using the waste baggies, except for one time when I accidentally got some of their poop on my hand from picking up something I hadn’t known they pooped on. I immediately washed my hands with soap and water but not for super long and threw away what they had pooped on. I can’t stop worrying that I have got roundworms from them and that it’s going to affect my baby. Has anyone ever had dogs with roundworms?? What was your experience? Does anyone know any facts about roundworms? I contacted my doctor and they said that as long as i hadn’t come into direct contact with poop and touched my face after, I most likely will be okay but it’s not easing my mind because of the time I did come into contact and didn’t wash my hands for the proper amount of time. I have not touched the dogs since and avoid even being in the same room with them. It still just makes me so nervous. Is there a test to see if you have them? I feel like I need something to ease my mind!!