Birth

I heard a babies meconium is tested when they are born , i last smoked marijuana when i was 16 weeks due to being nauseous & not able to eat , i have not smoked since then , but my boyfriend still smokes around me will this be detected in my babies first stool from when i last smoked & my boyfriend smoking ? I am currently abt to be 24 weeks