Drug testing newborns

Does anyone know how far back the can see if a newborn is exposed to weed? Nervous because in my state they test at birth. I had quit for most of my pregnancy but was very ill and it was my way of being able to eat. Really nervous that they will take my son away. We have tried so hard for him that I couldn't stand that happening.