Covid 19 question..

For any mom's that have already given birth what was it like to have to have taken the covid test? I live in Texas and have to have it done when I get induced at the hospital. I'm scared it'll hurt! How do they do it? Through your nose to your brain?? T.I.A