TB test while pregnant

I'm 28 weeks pregnant and I have to get a tb test done in order to start my externship of 180 hours at a medical office in October. Is it safe to get it done while pregnant? Just want to hear other opinions.