Glucose test question

Courtney • Baby Caroline was born 7/29/18😻 #Policewife #FTM

How do you pass the 1 hour glucose test? Just by eating healthy?? Does it not matter and if youre gonna fail you’re gonna fail? I’m 24 weeks right now so i go in about two weeks? I’ve had a sweet tooth suddenly so is it too late to turn things around and cut out the crap food? I’ve only gained about 7 pounds so far