Drug test at delivery..

So I was a pretty heavy pot smoker for almost 6 years but quit as soon as we started trying to have a baby. I'm due in 3 weeks which would mean I've been sober for just about 9 months. Is there a possibility I wouldn't pass the drug test at delivery? I would be devistated.. Please no negative comments. I was very careful to never harm my baby and get clean as soon as possible.