Colorado Moms

I am 30 weeks pregnant. FTM and just stopped marijuana. I'm not scared it will harm my baby more scared of what the system is going to do. Does anyone know how this works? Will they test me at birth? Test my baby at birth? Test the placenta? If I recently quit will it still show? I'm terrified of losing my baby to the system. I was on it so long for my nausea, grand mal seizures and massive anxiety.. Please know judgements, I really need some help with this topic.. As I mentioned I have stopped just wanna know what will happen now...