I would stop smoking for at least two days before the test. Detection times for swab testing is usually 24-36 hours, but can go back as much as 96 hours. Brush your teeth and use mouthwash thoroughly right before you take the test an you should be fine. Just remember... the longer you abstain the better off you'll be.