If it’s not legal in your state, then I say it’s an issue. I think if it’s legal, then they might be more understanding that you smoked a month ago as you didn’t plan for this job. I’d just answer honestly that you don’t currently use but you smoked a month ago and see what they say
In my experience the only fields where you get tested are education, medical, law enforcement and food services. Others do not