Test for COVID during the labor & delivery??

Pre • Mother R.I.P I.M.W 09-10-19 👼🏾 X.A.W 10.05.20 💙🚼

Soo....I’ve been looking at videos/vlogs. Most people are saying that the test is a long swab q-tip goes up your nose &or your throat???

This is process done before or after you go to the delivery room???