it depends on if they do the swab or you do, if you do the swab with the cutip (spelling) then its easy, i smoked the day before and passed because i brushed my teeth for ten mins and used mouth wash for awhile, both those techniques aren't fullproof but will help, if you have to do the swab yourself just get it wet by putting it on your teeth and not your cheek
hope i helped a bit