BMI & glucose testing

Does being overweight WHILE pregnant affect a glucose test?! An entitled person hiding behind a fake account is claiming that what pregnant moms eat/drink or weight especially those on the heavier side does not affect either passing or failing your glucose test.