You can detox as usual even if you are pregnant. But it is not just about passing the drug test. Toxins in the body can be harmful to the fetus. Hence, you need to get rid of them. However, make sure that you are discussing it with your doctor since some detox practices can be a little dangerous in such times.