When to test for fasting

Mi

Hi mamas, i cant sleep for more than 6 hours at night due to my little ones sleeping routine. So when should i test my fasting numbers?

Is sleeping for 8 to 10 hrs necessary for morning reading