Covid and pregnancy ?

Has anyone ever tested positive for covid while being pregnant ? How was it ? Any risks? Asking for a friend