Testing protocols and eligibility vary depending on where you live.
However, WHO recommendations are that pregnant women with symptoms of COVID-19 should be prioritized for testing. If they have COVID-19, they may need specialized care.
(Sources: World Health Organization website)